<?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: issue in loading child modules in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59504#M678</link>
    <description>&lt;P&gt;ya exactly.   when I change the dropdown/refresh, some of the searches don't run.&lt;BR /&gt;
i tried as u told, still the issue persist.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2012 06:16:04 GMT</pubDate>
    <dc:creator>smolcj</dc:creator>
    <dc:date>2012-12-20T06:16:04Z</dc:date>
    <item>
      <title>issue in loading child modules</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59499#M673</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
i have a drop down box and there are some modules which takes the dropdown box output as inpu and works.(single value,table.chart etc are those modules)&lt;BR /&gt;
they are taking few seconds to display the result, but my issue is sometimes they are showing (especially tables) "no results found". but if i am clicking the search button again it will show the result, why they are not populating all the time. is the issue is with my query.&lt;BR /&gt;
experts, please help&lt;BR /&gt;
This is the sample code&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;label&amp;gt;Summary&amp;lt;/label&amp;gt;
 &amp;lt;fieldset&amp;gt; 
 &amp;lt;input type="dropdown" token="sources"&amp;gt;
    &amp;lt;label&amp;gt;Select Your Source&amp;lt;/label&amp;gt;
    &amp;lt;populatingSearch fieldForValue="source" fieldForLabel="source"&amp;gt;
     index=main sourcetype=pc_log |top source|rex mode=sed field=source  "s/\\\{1}/\\\\\//g" |rex mode=sed field=source  "s/\///g" |fields source
    &amp;lt;/populatingSearch&amp;gt;
      &amp;lt;choice value="NULL"&amp;gt;Select Your Log File From the Given Options&amp;lt;/choice&amp;gt;
 &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;

     &amp;lt;row&amp;gt;
         &amp;lt;single&amp;gt;
       &amp;lt;searchString&amp;gt;
           index=main sourcetype=pc_log source=$sources$ |top name processid |eval x=mvzip(name,processid)|table x
   &amp;lt;/searchString&amp;gt;
               &amp;lt;drilldown&amp;gt;
          &amp;lt;link&amp;gt;/app/Sessionapp/flashtimeline?q=source=$form.sources$|search name=*&amp;lt;/link&amp;gt;
           &amp;lt;/drilldown&amp;gt;
        &amp;lt;option name="beforeLabel"&amp;gt;Session,PID&amp;lt;/option&amp;gt;
       &amp;lt;option name="height"&amp;gt;30px&amp;lt;/option&amp;gt;
         &amp;lt;/single&amp;gt; 

    &amp;lt;/row&amp;gt;
        &amp;lt;row&amp;gt;
    &amp;lt;html&amp;gt;
        &amp;lt;div style="background-color:#E9EBFA;"&amp;gt;
            &amp;lt;h1&amp;gt;&amp;lt;u&amp;gt;&amp;lt;center&amp;gt; Configuration&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt;&amp;lt;/h1&amp;gt;
       &amp;lt;/div&amp;gt; 
      &amp;lt;/html&amp;gt;
     &amp;lt;/row&amp;gt;
      &amp;lt;row&amp;gt;
          &amp;lt;table&amp;gt;&amp;lt;title&amp;gt; PARAMETERS: &amp;lt;/title&amp;gt;
   &amp;lt;searchString&amp;gt;
          index=main sourcetype=log source=$sources$ | search parameter_value=* AND parameter=*|table parameter,parameter_value|rename parameter as Parameter | rename parameter_value as Value
      &amp;lt;/searchString&amp;gt;
         &amp;lt;/table&amp;gt;&amp;lt;/row&amp;gt;
          &amp;lt;row&amp;gt;
          &amp;lt;single&amp;gt;
     &amp;lt;searchString&amp;gt;
          index=main source=$sources$ |stats earliest(_time) AS STARTINGTIME latest(_time) AS ENDINGTIME |eval duration = ENDINGTIME - STARTINGTIME| table duration| sec2time infield=duration outfield=duration |rename duration as Duration
           &amp;lt;/searchString&amp;gt;
             &amp;lt;option name="beforeLabel"&amp;gt;Total Run Duration (HH:MM:SS)  &amp;lt;/option&amp;gt;
            &amp;lt;option name="height"&amp;gt;30px&amp;lt;/option&amp;gt;

       &amp;lt;option name="linkView"&amp;gt;/flashtimeline&amp;lt;/option&amp;gt;
            &amp;lt;option name="linkSearch"&amp;gt;

            search index=main source="$sources$"|transaction startswith="START" endswith="END " maxevents=10000
             &amp;lt;/option&amp;gt;
               &amp;lt;/single&amp;gt;&amp;lt;/row&amp;gt;


              &amp;lt;row&amp;gt;
                  &amp;lt;single&amp;gt;
         &amp;lt;searchString&amp;gt;
           index=main source=$sources$ starttime=* | append [search index=main source=$sources$ | search TM_START] | stats earliest(_time) AS STARTINGTIME latest(_time) AS ENDINGTIME |eval duration = ENDINGTIME - STARTINGTIME | table duration | sec2time infield=duration outfield=duration |rename duration as Duration
           &amp;lt;/searchString&amp;gt;
          &amp;lt;option name="beforeLabel"&amp;gt;Duration(HH:MM:SS) &amp;lt;/option&amp;gt;
            &amp;lt;option name="height"&amp;gt;30px&amp;lt;/option&amp;gt;
           &amp;lt;option name="linkView"&amp;gt;/flashtimeline&amp;lt;/option&amp;gt;
            &amp;lt;option name="linkSearch"&amp;gt;

              search index=main source=* |transaction startswith="blabla" endswith="tadatada" 
           &amp;lt;/option&amp;gt;
           &amp;lt;/single&amp;gt;&amp;lt;/row&amp;gt;

            &amp;lt;row&amp;gt;
              &amp;lt;single&amp;gt;
                   &amp;lt;searchString&amp;gt;
                 index=main source=$sources$ TADA | append [search index=main source=$sources$ | search TTAADDAA ] | stats earliest(_time) AS STARTINGTIME latest(_time) AS ENDINGTIME |eval duration = ENDINGTIME - STARTINGTIME| convert ctime(STARTINGTIME) ctime(ENDINGTIME)| sec2time infield=duration outfield=duration| table duration|rename duration as Duration(secs)
            &amp;lt;/searchString&amp;gt;
              &amp;lt;option name="beforeLabel"&amp;gt;Actual  Duration(HH:MM:SS): &amp;lt;/option&amp;gt;
              &amp;lt;option name="height"&amp;gt;30px&amp;lt;/option&amp;gt;
            &amp;lt;option name="linkView"&amp;gt;/flashtimeline&amp;lt;/option&amp;gt;
               &amp;lt;option name="linkSearch"&amp;gt;

                search index=main source=* |transaction startswith="PETL_24006" endswith="TM_6020" maxevents=7000  
           &amp;lt;/option&amp;gt;
                 &amp;lt;/single&amp;gt;&amp;lt;/row&amp;gt;

                    &amp;lt;row&amp;gt;
                  &amp;lt;table&amp;gt;
                      &amp;lt;searchString&amp;gt;
           index=main source=$sources$ eventtype=READER_THREAD  thread_no=*|chart earliest(_time) as atime  latest(_time) as btime by thread_no | appendcols[search index=main source=$sources$ Targetgroup =*| chart  earliest(_time) as aatime latest(_time) as bbtime by Targetgroup ]  |&amp;lt;![CDATA[rex field=Targetgroup "(?&amp;lt;Threadno&amp;gt;\d)"]]&amp;gt; | eval duration = bbtime-atime  | sec2time infield=duration outfield=duration  | rename duration as "Duration(H:M:S)"  |  table  Threadno Targetgroup   Duration(H:M:S)
                  &amp;lt;/searchString&amp;gt;
                      &amp;lt;drilldown&amp;gt;
                      &amp;lt;link&amp;gt;/app/Sessionapp/flashtimeline?q=source=$form.sources$ thread_no=$row.Threadno$ OR Target_load_order_group="$row.Targetgroup$" | sort -_time &amp;lt;/link&amp;gt;
                   &amp;lt;/drilldown&amp;gt;
                       &amp;lt;/table&amp;gt;&amp;lt;/row&amp;gt;

                     &amp;lt;row&amp;gt;
                  &amp;lt;html&amp;gt;
                      &amp;lt;div style="background-color:#E9EBFA;"&amp;gt;
                    &amp;lt;h1&amp;gt;&amp;lt;u&amp;gt;&amp;lt;center&amp;gt; Error Severity&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt;&amp;lt;/h1&amp;gt;
                      &amp;lt;/div&amp;gt;
               &amp;lt;/html&amp;gt;    
                  &amp;lt;/row&amp;gt;

                    &amp;lt;row&amp;gt;
                      &amp;lt;chart&amp;gt;
             &amp;lt;searchString&amp;gt;index=main source=$sources$   | chart count over severity | eval red=if(severity=="ERROR",count,0) | eval yellow = if(severity=="DEBUG",count,0) | eval green = if(severity=="INFO",count,0)| fields - count
                   &amp;lt;/searchString&amp;gt;
                &amp;lt;drilldown&amp;gt;
              &amp;lt;link&amp;gt;/app/Sessionapp/flashtimeline?q=source=$form.sources$|search severity=$click.value$&amp;lt;/link&amp;gt;
          &amp;lt;/drilldown&amp;gt;
                 &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
                &amp;lt;option name="charting.chart.stackMode"&amp;gt;stacked&amp;lt;/option&amp;gt;
             &amp;lt;option name="charting.fieldColors"&amp;gt;                         {"red":0xFF0000,"yellow":0xFFFF00,"green":0x73A550}
      &amp;lt;/option&amp;gt;

           &amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;
            &amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;
         &amp;lt;/chart&amp;gt;
       &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Dec 2012 09:13:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59499#M673</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2012-12-11T09:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: issue in loading child modules</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59500#M674</link>
      <description>&lt;P&gt;I know I've said this many times but I'll say it once more, you need to post code!&lt;BR /&gt;
You've obviously not got a search firing or passing its results down somewhere along the way.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 09:35:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59500#M674</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-12-11T09:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: issue in loading child modules</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59501#M675</link>
      <description>&lt;P&gt;Please indent code blocks with 4 spaces, otherwise they will not show properly on this site.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 08:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59501#M675</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-12-12T08:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: issue in loading child modules</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59502#M676</link>
      <description>&lt;P&gt;i have edited my question with proper intending and code. pls help&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 11:54:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59502#M676</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2012-12-19T11:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: issue in loading child modules</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59503#M677</link>
      <description>&lt;P&gt;Are you saying that when you change the dropdown, some of the searches don't run ?&lt;BR /&gt;&lt;BR /&gt;
Try adding &lt;CODE&gt;searchWhenChanged="true"&lt;/CODE&gt; as an attribute to your input declaration&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 12:29:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59503#M677</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-12-19T12:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: issue in loading child modules</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59504#M678</link>
      <description>&lt;P&gt;ya exactly.   when I change the dropdown/refresh, some of the searches don't run.&lt;BR /&gt;
i tried as u told, still the issue persist.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 06:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-in-loading-child-modules/m-p/59504#M678</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2012-12-20T06:16:04Z</dc:date>
    </item>
  </channel>
</rss>

