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!

Harnessing Splunk’s Federated Search for Amazon S3

Managing your data effectively often means balancing performance, costs, and compliance. Splunk’s Federated ...

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...