Splunk Search

Adding Value to Host=

sdagostino
Engager

Is there a way in Splunk to add a description (type of device ie Nortel 8600) or replace the Host IP address with the equipment type or location. See search string below.

1:40:03.000 PM Jun 9 13:40:03 10.254.4.6 19263 06/09/2010 12:42:32 Syslog 0 : Failed Login Attempt: Username=69.193.186.46: Date/Time=06/09/2010 12:42:32

host=10.x.x.6 Options sourcetype=syslog Options source=udp:514 Options timestartpos=0 Options timeendpos=15 Options

Tags (2)

Genti
Splunk Employee
Splunk Employee

so, it seems to me like you are monitoring a UDP port.
Go to:

Manager » Data inputs » UDP »

And edit your UDP configuration. On the HOST section, choose Custom, and set the custom hostname, or location of the machine, or the type of device..etc.

Note that there might be a bug that prevents this from working, a small flag doesnt get set. A secure way to achieve what you want is to actually edit the inputs.conf file manually.

Find your monitor stanza for your UDP source it and edit it, it should look something like this:

[udp://514]
host = Nortel8600
sourcetype = udppackets
connection_host = none

Cheers,
.gz

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...