Depends a bit on how you are collecting... but iwth NXLog you can add the 
following to the output sections
Exec $Hostname = host_ip();


If you are using the collectors you can add this in the verbatim config 
section for your outputs.

You could also use the same trick to instead add another column for the 
host_ip, really depends on your needs

Cheers,
Michael

On Sunday, 18 September 2016 22:02:53 UTC+10, Dmitriy Shleht wrote:
>
>
> <https://lh3.googleusercontent.com/-ZUsC_Ja_frc/V96CUbimOoI/AAAAAAAAABQ/gisnSTC4BmMIuASSTH8hrgwBa-ed2r8mwCLcB/s1600/source.PNG>
>
>
> <https://lh3.googleusercontent.com/-ZUsC_Ja_frc/V96CUbimOoI/AAAAAAAAABQ/gisnSTC4BmMIuASSTH8hrgwBa-ed2r8mwCLcB/s1600/source.PNG>
> Hi. We have a lot of hosts. We prefer to see the host address rather than 
> its name. How to do it?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/6fd45e20-4554-40b3-9d78-74cb77b10378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to