Dashboards & Visualizations

How can I calculate both the total and IT_Managed values?

POR160893
Builder

Hey,

I am trying to use a subsearch with the loadjob command but it is failing:

POR160893_0-1648731146621.png

 



Can you please help?


Many thanks,
Patrick

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

I think it's the main loadjob that is failing rather than the subsearch.

Run the subsearch by itself with | format on the end to see what is returned to the main search.  You'll probably find it's returning something like (TOTAL=n), which is not valid when tacked onto the end of a loadjob command.

---
If this reply helps you, Karma would be appreciated.
0 Karma

POR160893
Builder

How can I calculate both the total and IT_Managed values then?
It has been 3 days and I have had no luck 🙄

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Have you tried my suggestion from your duplicate question?

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Don't do it this way!

The syntax you have used is often used to provide filtering to an index search, it doesn't apply to a loadjob command.

POR160893
Builder

Can you suggest another alternative to calculate the percentage?

0 Karma
Get Updates on the Splunk Community!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...