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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...