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!

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...