Splunk Dev

When can we use the comment options in SPL?

danielbb
Motivator

When can we use SPL2 with the lovely comments options described at https://docs.splunk.com/Documentation/SCS/current/Search/Comments  ?

Tags (1)
0 Karma

jfeitosa_real
Path Finder

```THIS IS A COMMENT```

0 Karma

jfeitosa_real
Path Finder

If you are running splunk in Release 8.1
Try this.
`comment (" THIS IS A COMMENT ")`

0 Karma

isoutamo
SplunkTrust
SplunkTrust
In 8.1 you can comment as
```you text here```
In earlier versions you could use
rename COMMENT as “your text here”
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Release 8.1 I believe

Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...