|
Greetings experts, I am using syslog-ng and Splunk on the same box. I have configure syslog-ng to pipe the incoming syslogs to a FIFO and get Splunk to read the FIFO. Splunk can read and index the FIFO fine but the sourceType is unkown and I am trying to get Splunk to recognize the data as sourceType syslog. Can this be done? What needs to be modified? I have tried to configure the /$SPLUNK_HOME/etc/modules/input/FIFO/config.xml file but this did not seem to get the sourceType changed. Any help would be greatly appreciated. Bear |
|
A couple of things to point out. (This may vary slightly based on splunk version) I don't think you should ever have to mess with the To set the sourcetype, you should be able to simply set the "sourcetype" parameter in your input stanza. So your
I should point out that splunk does not recommend the usage of fifo anymore. So I would suggest either (1) use syslog-ng to write to files and have splunk pick up those files, this has the advantage of protecting you against losing events whenever Thanks for the help and advice. I am experimenting with what is easiest and best so I removed the FIFO and went back to reading the udp port.
(14 Jul '10, 18:21)
bbear
|
