Dashboards & Visualizations

kv_mode - xml: How can I use extracted fields to create dashboards?

rasty
Path Finder

Hello everyone

I have xml formalt like:

<CxXMLResults>
     <Query>
           <Result>
           </Result>
     </Query>
</CxXMLResults>

So my fields looks like that in Splunk:

alt text

So I select Stored_XSS vulnerability in search for example CxXMLResults.Query{@name}=Stored_XSS and I want to count how many are there Stored_XSS with CxXMLResults.Query.Result{@NodeId}.

And I am doing searching like:

CxXMLResults.Query{@name}=* | stats count(CxXMLResults.Query.Result{@NodeId}) by CxXMLResults.Query{@name}

The result is all the same 😞 because these are in a single event. How can I select these with parent, child relations?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...