Getting Data In

Running splunk diag gets stuck at "Getting index listings..."

andrei_radu
New Member

Hi,

I am trying to create a diag file on one of my indexers and the process is stuck at "Getting index listings..." for more than 1 hour.

Has anyone came across something similar and have a suggestion how to troubleshoot?

Regards!

Tags (2)
0 Karma
1 Solution

dineshraj9
Builder

Sometimes diag files can really consume a lot of space. You can filter out some of the contents like this -

./splunk diag --exclude */.snapshot/* --exclude */dispatch/* --exclude */search_pool/etc/users/* --exclude *.tgz* --exclude *.tar* --exclude *.gz* --exclude *.zip* --exclude *.png --exclude *.jpg --exclude *.jpeg --exclude *.gif --exclude *.so* --exclude *.old.* --exclude *.csv.* --exclude *.bundle*

View solution in original post

dineshraj9
Builder

Sometimes diag files can really consume a lot of space. You can filter out some of the contents like this -

./splunk diag --exclude */.snapshot/* --exclude */dispatch/* --exclude */search_pool/etc/users/* --exclude *.tgz* --exclude *.tar* --exclude *.gz* --exclude *.zip* --exclude *.png --exclude *.jpg --exclude *.jpeg --exclude *.gif --exclude *.so* --exclude *.old.* --exclude *.csv.* --exclude *.bundle*

andrei_radu
New Member

Thanks, excluding some parts of the diag file worked.

0 Karma
Get Updates on the Splunk Community!

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...