Getting Data In

Thread count of splunk keeps on changing in linux?

Deepali529
Explorer

Hi, I am trying to find the subthread_count of logfiles of splunk on linux by command ps -eLo user=|sort|uniq -c > subthread_op

When I executed this command the subthread count was:
1 chrony
2 dbus
6 polkitd
2 postfix
274 root
but when I executed this command after few days subthread_count was:
1 chrony
2 dbus
6 polkitd
2 postfix
278 root.

Also, can anyone help me in which directory I have to execute command "find . -type f -name ".log*"| wc –l to find the logfiles of splunk?
Does all logfiles end with .log extension in splunk?

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

To find Splunk's log files, use this command: ls $SPLUNK_HOME/var/log/splunk.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...