Splunk Enterprise Security

What is the purpose of the `useother` macro

CSmoke
Path Finder

Looking at some of the built in dashboards in Enterprise Security, there is a macro named useother

| tstats count from datamodel=Web.Web where * by _time,Web.status span=10m | timechart minspan=10m useother=useother count by Web.status | drop_dm_object_name("Web")

It appears to set the value to true.

title = useother
args = none
definition = true

Can anyone explain why this is used instead of useother=true?

0 Karma
1 Solution

dkeck
Influencer

HI,

they probably used this a lot in ES, so its easier if you want to change it to false, to have a marco. Thats probably it.

Just for better maintenance. Thats what a macro is for.

View solution in original post

0 Karma

dkeck
Influencer

HI,

they probably used this a lot in ES, so its easier if you want to change it to false, to have a marco. Thats probably it.

Just for better maintenance. Thats what a macro is for.

0 Karma

CSmoke
Path Finder

Thanks, that makes sense.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...