Splunk Search

Run search to determine if forwarder has splunkweb enabled?

muebel
SplunkTrust
SplunkTrust

Is there a search string that would report on the status of splunkweb on each forwarding host?

gkanapathy
Splunk Employee
Splunk Employee

Not exactly. You could check for the existence and most recent time of a startup message in the Splunk internal web_service.log file, though a LWF may or may not forward that file. Though of course, a LWF shouldn't have SplunkWeb enabled at all.

index=_internal source=*web_service.log "ENGINE: Bus STARTED" | stats first(_time) by host

muebel
SplunkTrust
SplunkTrust

It looks like you would have to set the forwarder to monitor the web_service.log, or otherwise forward the contents of the forwarders _internal index. As far as I can tell, searching as you suggested will only return information for the indexers web_service.log, unless I am missing something.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...