<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why is my map search returning &amp;quot;No Results Found&amp;quot;? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228158#M67437</link>
    <description>&lt;P&gt;Found the answer in this question. I need to add search inside my search.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Wrong&lt;/STRONG&gt;&lt;BR /&gt;
map search="error"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Right&lt;/STRONG&gt;&lt;BR /&gt;
map search="search error"&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/27012/whats-wrong-with-this-map-search-command.html"&gt;http://answers.splunk.com/answers/27012/whats-wrong-with-this-map-search-command.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2015 16:12:38 GMT</pubDate>
    <dc:creator>motobeats</dc:creator>
    <dc:date>2015-09-18T16:12:38Z</dc:date>
    <item>
      <title>Why is my map search returning "No Results Found"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228156#M67435</link>
      <description>&lt;P&gt;Can anyone help me with this map search? Both the inner and outer searches return what I expect, but when I try to combine them, I get "No Results Found". I've used Map before, so I can't understand what I am doing wrong.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Inner Search&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"ERROR" index=*tie* earliest=-21d date_hour=10 date_wday=friday| bucket _time span=60m|stats count by _time, date_hour,date_wday,date_mday|streamstats current=true window=5 p99(count) as trendline|tail 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Outer Search&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;'"ERROR" index=*tie* | dedup date_hour date_wday| table date_hour, date_wday'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Failing Search&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"ERROR" index=*tie* | dedup date_hour date_wday| table date_hour, date_wday|map search=""ERROR" index=*tie* earliest=-21d date_hour=$date_hour$ date_wday=$date_wday$| bucket _time span=60m|stats count by _time, date_hour,date_wday,date_mday|streamstats current=true window=5 p99(count) as trendline|tail 1"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Sep 2015 15:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228156#M67435</guid>
      <dc:creator>motobeats</dc:creator>
      <dc:date>2015-09-18T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my map search returning "No Results Found"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228157#M67436</link>
      <description>&lt;P&gt;Here is the error I get when I inspect the job&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;This search has completed and found 2 matching events. However, the transforming commands in the highlighted portion of the following search:

search "ERROR" index=*tie* | dedup date_hour date_wday | table date_hour, date_wday | map search=ERROR index=*tie* date_hour=$date_hour$ date_wday=$date_wday$ maxsearches=10
over the time range:

9/18/15 10:46:00.000 AM – 9/18/15 11:46:06.000 AM
generated no results. Possible solutions are to:

check the syntax of the commands
verify that the fields expected by the report commands are present in the events
The following messages were returned by the search subsystem:

WARN: Unable to run query 'ERROR index=*tie* date_hour=11 date_wday=friday'.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Sep 2015 15:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228157#M67436</guid>
      <dc:creator>motobeats</dc:creator>
      <dc:date>2015-09-18T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my map search returning "No Results Found"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228158#M67437</link>
      <description>&lt;P&gt;Found the answer in this question. I need to add search inside my search.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Wrong&lt;/STRONG&gt;&lt;BR /&gt;
map search="error"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Right&lt;/STRONG&gt;&lt;BR /&gt;
map search="search error"&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/27012/whats-wrong-with-this-map-search-command.html"&gt;http://answers.splunk.com/answers/27012/whats-wrong-with-this-map-search-command.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2015 16:12:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228158#M67437</guid>
      <dc:creator>motobeats</dc:creator>
      <dc:date>2015-09-18T16:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my map search returning "No Results Found"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228159#M67438</link>
      <description>&lt;P&gt;Ah that was my issue as well.&lt;BR /&gt;
Seems like pretty crappy format to have search="search blah" ... oh well - thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 01:06:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-map-search-returning-quot-No-Results-Found-quot/m-p/228159#M67438</guid>
      <dc:creator>dd_msearles</dc:creator>
      <dc:date>2018-04-27T01:06:26Z</dc:date>
    </item>
  </channel>
</rss>

