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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...