r/Splunk • Splunker • Jun 06 '18

Universal Forwarders

HELP: How to troubleshoot it, does it have local logging, how can I see what is feeding to it?

0 Upvotes

7 comments sorted by

2

u/automine1 SplunkTrust Jun 06 '18

Yes, it has the splunkd.log, just like Splunk Enterprise, as well as metrics.log. It also has the ./splunk list inputstatus command to get details on inputs. Is there a particular problem you are trying to solve?

1

u/Foosyy Splunker Jun 06 '18

I am interning with a company right now as I am still in college, thank you for the help though. Where would I find the logging for universal forwarding on the UI

2

u/automine1 SplunkTrust Jun 06 '18

$SPLUNK_HOME/var/log/splunk/

1

u/Foosyy Splunker Jun 06 '18

Thank you!

1

u/Foosyy Splunker Jun 06 '18 edited Jun 06 '18

how do I access this within enterprise?

2

u/Kieffer87 Jun 06 '18

You would need to login to SSH/Console (linux) or RDP/Console (Windows) to the universal forwarder then browse to the directory automine1 pointed out. If this UF is sending logs still, then you can simply search the _internal index within Splunk.

1

u/ScriptBlock Splunker Jun 06 '18

On the forwarders, if you have forwardedindex.filter.disable = true set in outputs.conf, then the internal forwarder logs will get sent to the indexers. In this case you can search index=_* host=[forwarder host name here]

Assuming the splunky stuff is running and healthy, then it makes sense to troubleshoot using splunk itself.