As Ayn states, this can be done with a LOOKUP-statement in props.conf, but you also need the corresponding transforms.conf stanza to make it work. I recently posted an answer to this type of question;
Have a look, and if you don't figure it out, feel free to provide more information regarding what you're trying to do.
Hope this helps,
Kristian
As Ayn states, this can be done with a LOOKUP-statement in props.conf, but you also need the corresponding transforms.conf stanza to make it work. I recently posted an answer to this type of question;
Have a look, and if you don't figure it out, feel free to provide more information regarding what you're trying to do.
Hope this helps,
Kristian
Yes, you set this in props.conf using the LOOKUP directive. For instance
[mysourcetype]
LOOKUP-foo = mylookuptable somefield OUTPUT somelookedupfield
http://docs.splunk.com/Documentation/Splunk/4.3/admin/Propsconf
Did that - doesn't work.
LOOKUP-hostdb = hostdb_lookup srcIP OUTPUTNEW deviceName
needs restart to make it work?