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
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...