Splunk Enterprise

Usage of macro in Event types in Splunk


Hello Guys,

Good Day!!

Can anyone please help me with a question that I have. Can I use a macro in the event type in Splunk. I am trying but looks like there is some issue. 

A very small example, in my eventtype

search = index=`index`

and in the query behind my panel I have:

| stats count

I am on Splunk on prem version


Labels (2)
0 Karma


You said there is an issue.  What is it?

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

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...