Hi,
I would like to know how to calculate the "number of files" field in the table colunm of "Files & directories",which is the last path of [setting]>>[Data inputs] >> [Files & directories] at Splunkweb.
I have calculated the "number of files" field at each sourcetypes with the following command, and there are the CLI results and the GUI result.
----result----
[user]# /opt/splunk/bin/splunk list monitor | grep <indexname> | grep "aaa" | wc -l
203
[user]# /opt/splunk/bin/splunk list monitor | grep <indexname> | grep "ccc" | wc -l
203
[user]# /opt/splunk/bin/splunk list monitor | grep <indexname> | grep "bbb" | wc -l
203
Does splunk include directory when splunk calculate the "number of files" field ?
Also, Does splunk include directory when input setting has wildcard ?
If so, why is the number of ccc not different between CLI and GUI result?
I will appreciate any advice.