Ability to read / parse newest log record from source log files

I am using NxLog to read and output logs from various source files (im_file module). I configured NxLog with "ReadFromLast" hint so it is capturing new logs since last "SavePos".

Now I want to change this little bit, I want to read just the newest entry in my log files since "SavePos". How can I achieve this? Is there a hint / filter that can help?

AskedMay 13, 2021 - 7:09pm

NxLog not even attempting to sync first few lines

I have a im_file to om_tcp route on the community edition.
My applications starts generating logs at 5am and runs every 15 minutes.
I have observed that it essentially skips the first X lines and syncs things only after the x lines starting 5:15 and works fine throughout the day.
There is nothing in logs at 5am.
I have tried routing it to another om_file on the same machine, it works ok.

Can you please help me fix it?

Here is the config:

AskedJuly 16, 2020 - 4:12am

End process when EOF Reached

Hello - new to nxlog. Trying to end nxlog process when EOF reached on input file. Any help appreciated.


AskedJune 22, 2020 - 7:00pm