Splunk Search

How to fetch fields and values reported in Job inspector of searches executed by end users?

Taruchit
Contributor

Hello All,

I need help to make build an SPL which helps to get the results of Job inspector for each query executed by end users.

Example of fields: -

command.search.rawdata

command.search.kv

command.search.index

Any information or guidance will be very helpful.

Thank you

Taruchit

Labels (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The information in the Job Inspector is not indexed so it cannot be searched.

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

The information in the Job Inspector is not indexed so it cannot be searched.

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

Taruchit
Contributor

Hi @richgalloway,

Is there no repository or directory in Splunk that stores the results seen in Job inspector?

Like when we have scheduled searches, we can see job inspector and its data of atleast past two results. So, do we have any way to fetch that data via SPL, at least till TTL of those search does not expire?

Thank you

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Search results are stored in the dispatch directory so they can be recalled later (until they expire).  That directory is not indexed, however, so it is not available via SPL.

You can monitor that directory if you wish, but it will use a LOT of your license quota.

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

Taruchit
Contributor

Hi @richgalloway,

Thank you for sharing. 

Taruchit

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 ...