Search found 1 match

by surgerygrilled
Wed Oct 22, 2025 9:04 pm
Forum: Nagios Log Server
Topic: Sorting Logs by Event Time in NXLog: Understanding the Challenge
Replies: 3
Views: 54869

Re: Sorting Logs by Event Time in NXLog: Understanding the Challenge

When sorting logs by EventTime in NXLog, make sure the field is treated as a datetime rather than a string. Use a conversion function or parse_date() to store timestamps in proper ISO 8601 format and ensure all entries are normalized to UTC. Lexicographic (string) sorting can cause misordering, espe...