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!

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...