Getting Data In

add log file to splunk universal forwarder

jszyba
New Member

I'm trying to monitor a log file to a splunk universal forwarder. For example the splunkd.log file. I've tried getting into the inputs.conf file on the machine with the universal forwarder intstalled and adding [monitor://$SPLUNK_HOME\var\log\splunk\splunkd.log]. I can't see the log file on the main reciever. What am I missing here? Please help....

Tags (3)
0 Karma

rkirkw
Path Finder

The splunkd.log is most likely already being sent by the forwarder but you may not be searching the internal indexes by default.

Try this search:
index=_internal source="/opt/splunkforwarder/var/log/splunk/splunkd.log" host=hostname

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

That file should be monitored automatically, search the _internal index for it.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...