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!

Build a No-Code AI Agent at .conf26: Join the AI Agent Buildathon

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...

Forwarder Topology Guidance: Intermediate HF vs Intermediate UF

Why Universal Forwarders Should Not Be Used as Intermediate Forwarders A practical Splunk forwarding topology ...