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!

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...