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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...