Getting Data In

splunk cmd btool anything list for stanzas containing whitespaces

m_efremov
Explorer

I have some saved searches with whitespaces in their names. So in savedsearches.conf i have stanzas like following: "[Any saved search 1]". When I perform the command like
xsplunk cmd btool savedsearches list 'Any saved search 1' --debug
I have results for all saved searches contains word "Any" at the begining of name. How can I list savedsearch named "Any saved search 1" exactly?

0 Karma

chrisyounger
SplunkTrust
SplunkTrust

I tried a few things and I was unable to find a solution that works either. As a workaround, you might find that the app Config Explorer https://splunkbase.splunk.com/app/4353/ might make it easier to review the full btool output. Disclaimer: I am the developer.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...