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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...