<?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: passing data from Global search to child search not displaying data on dashboard. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333718#M21644</link>
    <description>&lt;P&gt;HI&lt;/P&gt;

&lt;P&gt;There is no need to put earliest &amp;amp; latest in sub search. Can you please then?&lt;/P&gt;

&lt;P&gt;Does your sub search panel shows No rec Found Or Waiting for input??&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2017 13:34:42 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2017-10-25T13:34:42Z</dc:date>
    <item>
      <title>Why won't data passing from global search to child search not displaying data on dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333717#M21643</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In my dashboard, I am using one global search and multiple sub search queries(which use global search query data).&lt;/P&gt;
&lt;P&gt;Issue is data is not getting displayed on dashboard, but when i click on search button its append sub search to global search and displaying results. Now sure why its not getting displayed on dashboard.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Global Search&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;search id="globalSearch"&amp;gt;
    &amp;lt;query&amp;gt;eventtype=mlc_live host=$host_token$ sourcetype=tool_lifecycle &amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$time_token.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$time_token.latest$&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Sub Search&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search base="globalSearch"&amp;gt;
  &amp;lt;query&amp;gt; | eval ScriptName2=ScriptName |  rex field="ScriptName" "^\S+_(?&amp;amp;lt;ScriptName&amp;amp;gt;[^\.]+)\.\S+" | rex field="ScriptName2" "^\S+\.sh\s*(?&amp;amp;lt;Instance&amp;amp;gt;\S+)" | rex field="ActivityType" "^#(?&amp;amp;lt;ActivityType&amp;amp;gt;[^\.]+);" | eval ActivityType=if(isNOTNULL(ActivityType),ActivityType,"NA") | search ScriptName IN (*$script_name_token$*) AND ActivityType = "*$activity_type_token$*" AND Status = "*$status_token$*"  | table _time ScriptName Instance StartDate StartTime EndDate EndTime Duration UniqueIdentifier Status ActivityType | sort 0 _time desc | dedup UniqueIdentifier&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$time_token.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$time_token.latest$&amp;lt;/latest&amp;gt;
&amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3736iE0C7BB55FB3A3D3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 18:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333717#M21643</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2023-02-10T18:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333718#M21644</link>
      <description>&lt;P&gt;HI&lt;/P&gt;

&lt;P&gt;There is no need to put earliest &amp;amp; latest in sub search. Can you please then?&lt;/P&gt;

&lt;P&gt;Does your sub search panel shows No rec Found Or Waiting for input??&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333718#M21644</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-10-25T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333719#M21645</link>
      <description>&lt;P&gt;Thanks for reply. I tried by removing earliest and latest time but its not working. Its showing "No Results Found"  &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:41:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333719#M21645</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-10-25T13:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333720#M21646</link>
      <description>&lt;P&gt;You are not following many of the best practices for base/global searches and post-processing.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Passing raw events to a post-processing search, i.e., not transforming the data in the base search&lt;/LI&gt;
&lt;LI&gt;Didn't indicate the base search what fields are needed in post-processing&lt;/LI&gt;
&lt;LI&gt;Not limiting the search results in any way&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;See here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Savedsearches#Post-process_searches_2"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Savedsearches#Post-process_searches_2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You need to rethink your use case and strip down the base searches to use more suitable usage.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333720#M21646</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-10-25T13:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333721#M21647</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I'm just putting extraction into base search. Can you please try if It is not affecting your business logic ??&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search id="globalSearch"&amp;gt;
     &amp;lt;query&amp;gt;eventtype=mlc_live host=$host_token$ sourcetype=tool_lifecycle | eval ScriptName2=ScriptName |  rex field="ScriptName" "^\S+_(?&amp;amp;lt;ScriptName&amp;amp;gt;[^\.]+)\.\S+" | rex field="ScriptName2" "^\S+\.sh\s*(?&amp;amp;lt;Instance&amp;amp;gt;\S+)" | rex field="ActivityType" "^#(?&amp;amp;lt;ActivityType&amp;amp;gt;[^\.]+);" | table  _time ScriptName Instance StartDate StartTime EndDate EndTime Duration UniqueIdentifier Status ActivityType &amp;lt;/query&amp;gt;
     &amp;lt;earliest&amp;gt;$time_token.earliest$&amp;lt;/earliest&amp;gt;
     &amp;lt;latest&amp;gt;$time_token.latest$&amp;lt;/latest&amp;gt;
   &amp;lt;/search&amp;gt;



   &amp;lt;search base="globalSearch"&amp;gt;
   &amp;lt;query&amp;gt;eval ActivityType=if(isNOTNULL(ActivityType),ActivityType,"NA") | search ScriptName IN (*$script_name_token$*) AND ActivityType = "*$activity_type_token$*" AND Status = "*$status_token$*"  | table _time ScriptName Instance StartDate StartTime EndDate EndTime Duration UniqueIdentifier Status ActivityType | sort 0 _time desc | dedup UniqueIdentifier&amp;lt;/query&amp;gt;
 &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please correct my syntax if any typo.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:51:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333721#M21647</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-10-25T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333722#M21648</link>
      <description>&lt;P&gt;Great !! Thanks. Can you pls mark it as Answer.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:22:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333722#M21648</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-10-25T14:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333723#M21649</link>
      <description>&lt;P&gt;Thank you for clearing concept about base/global search. It helped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:23:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333723#M21649</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-10-25T14:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333724#M21650</link>
      <description>&lt;P&gt;shifted to Answer.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 04:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/333724#M21650</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-10-26T04:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from Global search to child search not displaying data on dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/630494#M51695</link>
      <description>&lt;P&gt;I added a table command with the required fields and that resolved it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 18:09:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-won-t-data-passing-from-global-search-to-child-search-not/m-p/630494#M51695</guid>
      <dc:creator>sabeeshvk</dc:creator>
      <dc:date>2023-02-10T18:09:56Z</dc:date>
    </item>
  </channel>
</rss>

