Edit IP Address (Hostname)

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
shiraz1982
Posts: 5
Joined: Sun Sep 30, 2018 1:44 am

Edit IP Address (Hostname)

Post by shiraz1982 »

Hi,

I added around 30 host in log server. but network switches/firwall are not displaying any host name just IP. How can i edit it manually in log server GUI.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Edit IP Address (Hostname)

Post by cdienger »

Are the hostnames part of the log messages that are being sent? If so, then a grok filter can be used to parse it out. See "Logstash Example Configuration" in https://support.nagios.com/kb/article/n ... ew-98.html for details on using the grok filter.

If the hostname is not part of the message, you can use the dns() filter to do a lookup to get it. Be careful with this - if DNS isn't set up properly it easily can become a bottleneck.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked