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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...