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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

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

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...