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!

test 2

test 222222

test

test

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...