SPLK-2002(205Q) · Question #57
Which of the following is a way to exclude search artifacts when creating a diag?
The correct answer is A. SPLUNK_HOME/bin/splunk diag --exclude. The splunk diag --exclude command is a way to exclude search artifacts when creating a diag. A diag is a diagnostic snapshot of a Splunk instance that contains various logs, configurations, and other information. Search artifacts are temporary files that are generated by search…
Question
Which of the following is a way to exclude search artifacts when creating a diag?
Options
- ASPLUNK_HOME/bin/splunk diag --exclude
- BSPLUNK_HOME/bin/splunk diag --debug --refresh
- CSPLUNK_HOME/bin/splunk diag --disable=dispatch
- DSPLUNK_HOME/bin/splunk diag --filter-searchstrings
How the community answered
(41 responses)- A93% (38)
- B2% (1)
- C5% (2)
Explanation
The splunk diag --exclude command is a way to exclude search artifacts when creating a diag. A diag is a diagnostic snapshot of a Splunk instance that contains various logs, configurations, and other information. Search artifacts are temporary files that are generated by search jobs and stored in the dispatch directory. Search artifacts can be excluded from the diag by using the --exclude option and specifying the dispatch directory. The splunk diag --debug --refresh command is a way to create a diag with debug logging enabled and refresh the diag if it already exists. The splunk diag -- disable=dispatch command is not a valid command, because the --disable option does not exist. The splunk diag --filter-searchstrings command is a way to filter out sensitive information from the search strings in the diag
Topics
Community Discussion
No community discussion yet for this question.