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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...