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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...