Dashboards & Visualizations

How can use map command ?

rasty
Path Finder

Hi All,

index="deneme_index6" | spath output=QueryName path="CxXMLResults.Query{@name}" | mvexpand QueryName | table QueryName | map search="search index='deneme_index6' CxXMLReports.Query{@name}=$QueryName$ | table CxXMLReports.Query{@name}"

Just I'm making examples, There is not specific reason of above operation, I just try to understand. Why I'm getting error like "No results found."

Tags (1)
0 Karma
1 Solution

niketn
Legend

@rasty, I have provided another answer with Run Anywhere Example for your previous question: https://answers.splunk.com/answers/642422/xml-nested-field-issues.html

Can you please try out and confirm? Also since this question is on similar lines to your previous question, please confirm whether we can close this one.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@rasty, I have provided another answer with Run Anywhere Example for your previous question: https://answers.splunk.com/answers/642422/xml-nested-field-issues.html

Can you please try out and confirm? Also since this question is on similar lines to your previous question, please confirm whether we can close this one.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

rasty
Path Finder
0 Karma

logloganathan
Motivator

Could you please try this query

index="deneme_index6" | spath output=QueryName path="CxXMLResults.Query{@name}" | mvexpand QueryName | table QueryName | map search="search index='deneme_index6' CxXMLReports.Query{@name}=$QueryName$ | table CxXMLReports.Query{@name}" maxsearches=10

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...

What's New in Splunk Enterprise Security 8.8 and Beyond

Threats move at machine speed. Keeping up should not depend on having the biggest budget, the largest team, or ...