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!

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...

What's New in Splunk Enterprise Security 8.8 and Beyond

Threats move at machine speed. Keeping up should not depend on having the biggest budget, the largest team, or ...