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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...