Splunk Search

how do you comment in splunk?

HattrickNZ
Motivator

how do you comment in splunk?
I have tried the below from the below ref, but cannot get it to work, (apologies I cannot get the single quote thing to appear as I would like).

comment("THIS IS A COMMENT")`
comment("This part of the search returns only one value")`

I did think it was a single quote but not this single quote '. the one that is used to format code in this text.
Ah this one. -> `

ref
https://docs.splunk.com/Documentation/Splunk/7.3.1/Search/Addcommentstosearches

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...