Search found 3 matches
- Sat Oct 04, 2025 4:32 am
- Forum: Nagios Log Server
- Topic: How to Include Context Lines Around Log Search Matches
- Replies: 3
- Views: 62556
Re: How to Include Context Lines Around Log Search Matches
You can include context lines around log matches using a few approaches depending on your tool: Using grep on Linux: grep -C 3 "search_term" logfile.log -C 3 shows 3 lines before and after each match. You can also use -B (before) or -A (after) for more precise control. In NXLog or similar ...
- Sat Oct 04, 2025 4:23 am
- Forum: Nagios Log Server
- Topic: Sorting Logs by Event Time in NXLog: Understanding the Challenge
- Replies: 3
- Views: 54770
Re: Sorting Logs by Event Time in NXLog: Understanding the Challenge
The issue arises because even though EventTime appears correctly formatted, some systems may treat it as a string rather than a true datetime. To ensure proper chronological sorting: Convert and normalize timestamps – Make sure all log entries are consistently converted to UTC. Use proper datetime t...
- Sat Oct 04, 2025 4:12 am
- Forum: Nagios Log Server
- Topic: Elasticsearch Setting Not Showing
- Replies: 4
- Views: 87410
Re: Elasticsearch Setting Not Showing
In recent Nagios Log Server versions, the “Elasticsearch Listen” UI option was removed. You now set it directly in the config: Edit /etc/elasticsearch/elasticsearch.yml and add: network.host: 0.0.0.0 Restart services: systemctl restart elasticsearch systemctl restart logserver Verify: netstat -tulnp...