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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...