Splunk Search

splunk diag command doesn't work with --exclude in splunk version 6.0

jdastmalchi_spl
Splunk Employee
Splunk Employee

The flags such as exclude as explained in http://docs.splunk.com/Documentation/Splunk/6.0/Troubleshooting/ContactSplunkSupport don't work for version 6.0.

./splunk diag --exclude */passwd

Command error: '*/passwd' is not a valid command. Please run 'splunk help' to see the valid commands.

Tags (1)
1 Solution

jdastmalchi_spl
Splunk Employee
Splunk Employee

This is a known issue SPL-75535 and fixed in 6.0.1 for version 6.0 workaround is :

./splunk cmd python $SPLUNK-HOME/lib/python2.7/site-packages/splunk/clilib/info_gather.py --exclude */passwd

View solution in original post

jdastmalchi_spl
Splunk Employee
Splunk Employee

This is a known issue SPL-75535 and fixed in 6.0.1 for version 6.0 workaround is :

./splunk cmd python $SPLUNK-HOME/lib/python2.7/site-packages/splunk/clilib/info_gather.py --exclude */passwd

Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...