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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...