Splunk Enterprise

splunk indexer

verifi81
Path Finder

What is a way I can confirm that a splunk server is doing INDEXING?

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

One way is to check splunkd.log to see if the server reports itself as an indexer.

grep "Declared role" /opt/splunk/var/log/splunk/splunkd.log

 Another way is to see if the server is writing any hot buckets.  The _internal index is the best way to check.

ls -l $SPLUNK_DB/_internaldb/db/hot*
---
If this reply helps you, Karma would be appreciated.
0 Karma

verifi81
Path Finder

Is there a way to confirm within the UI? 

I did grep the splunkd.log for "declared role" but nothing came up.   

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Both can queried from internal index.

index=_internal host=<your host> source=*splunkd.log sourcetype=splunkd “declare role” and time frame enough long to find that entry. And same for buckets. 

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...