All Apps and Add-ons

Using eval to add a comment?

tbaublys_splunk
Splunk Employee
Splunk Employee

Here is the newer official way to add the comments (using preinstalled macro):
comment("THIS IS A COMMENT")

http://docs.splunk.com/Documentation/Splunk/7.2.1/Search/Addcommentstosearches

Tags (1)

richgalloway
SplunkTrust
SplunkTrust

Would you mind editing this into a question and a separate answer? Then please accept the answer so future readers will find it.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...