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?
To find Splunk's log files, use this command: ls $SPLUNK_HOME/var/log/splunk
.