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!

Building Reliable Asset and Identity Frameworks in Splunk ES

  Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...