Splunk Search

How to calculate the "number of files" field in the table colunm of "Files & directories

Shuhei052492
Path Finder

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  

alt text

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.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...