<?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: search is waiting for input error in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452703#M55680</link>
    <description>&lt;P&gt;Yes, I have dropdown. After selected the dropdown, we are facing this error. The token values are passed. The query is working fine in run search. But in dashboard, we are facing this error.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2019 06:37:43 GMT</pubDate>
    <dc:creator>harinivgr</dc:creator>
    <dc:date>2019-07-01T06:37:43Z</dc:date>
    <item>
      <title>search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452701#M55678</link>
      <description>&lt;P&gt;I have 600+ data in my dashboard server. The query is working fine separately in search and reporting but, It is working in dashboard. It is showing search is waiting for  input error.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 05:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452701#M55678</guid>
      <dc:creator>harinivgr</dc:creator>
      <dc:date>2019-07-01T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452702#M55679</link>
      <description>&lt;P&gt;@harinivgr , do you have any input element in Dashboard and if yes, are they selected , for e.g dropdown?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 06:29:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452702#M55679</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-07-01T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452703#M55680</link>
      <description>&lt;P&gt;Yes, I have dropdown. After selected the dropdown, we are facing this error. The token values are passed. The query is working fine in run search. But in dashboard, we are facing this error.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 06:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452703#M55680</guid>
      <dc:creator>harinivgr</dc:creator>
      <dc:date>2019-07-01T06:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452704#M55681</link>
      <description>&lt;P&gt;are you using any base/ post process search  ? is it possible to share the XML after masking any sensitive data?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 06:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452704#M55681</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-07-01T06:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452705#M55682</link>
      <description>&lt;P&gt;Long Running Job&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;input type="dropdown" token="start_time"&amp;gt;
      &amp;lt;label&amp;gt;start_time&amp;lt;/label&amp;gt;

      &amp;lt;search&amp;gt;
        &amp;lt;query /&amp;gt;
        &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;choice value="1:00:00"&amp;gt;1AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="2:00:00"&amp;gt;2AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="3:00:00"&amp;gt;3AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="4:00:00"&amp;gt;4AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="5:00:00"&amp;gt;5AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="6:00:00"&amp;gt;6AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="7:00:00"&amp;gt;7AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="8:00:00"&amp;gt;8AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="9:00:00"&amp;gt;9AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="10:00:00"&amp;gt;10AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="11:00:00"&amp;gt;11AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="0:00:00"&amp;gt;12AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="13:00:00"&amp;gt;1PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="14:00:00"&amp;gt;2PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="15:00:00"&amp;gt;3PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="16:00:00"&amp;gt;4PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="17:00:00"&amp;gt;5PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="18:00:00"&amp;gt;6PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="19:00:00"&amp;gt;7PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="20:00:00"&amp;gt;8PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="21:00:00"&amp;gt;9PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="22:00:00"&amp;gt;10PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="23:00:00"&amp;gt;11PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="12:00:00"&amp;gt;12PM&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="end_time"&amp;gt;
      &amp;lt;label&amp;gt;end_time&amp;lt;/label&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query /&amp;gt;
        &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;choice value="1:00:00"&amp;gt;1AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="2:00:00"&amp;gt;2AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="3:00:00"&amp;gt;3AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="4:00:00"&amp;gt;4AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="5:00:00"&amp;gt;5AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="6:00:00"&amp;gt;6AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="7:00:00"&amp;gt;7AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="8:00:00"&amp;gt;8AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="9:00:00"&amp;gt;9AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="10:00:00"&amp;gt;10AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="11:00:00"&amp;gt;11AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="0:00:00"&amp;gt;12AM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="13:00:00"&amp;gt;1PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="14:00:00"&amp;gt;2PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="15:00:00"&amp;gt;3PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="16:00:00"&amp;gt;4PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="17:00:00"&amp;gt;5PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="18:00:00"&amp;gt;6PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="19:00:00"&amp;gt;7PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="20:00:00"&amp;gt;8PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="21:00:00"&amp;gt;9PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="22:00:00"&amp;gt;10PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="23:00:00"&amp;gt;11PM&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="12:00:00"&amp;gt;12PM&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;


    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="ibmsyslog" JOBID="JOB*"  "IDC* STARTED"  | rex field=_raw "^[^\$\n]*\$\w+\d+\s+(?P&amp;amp;lt;JobName&amp;amp;gt;\w+)"| rex field=_raw "\w*\sUSERID\s+(?P&amp;amp;lt;UserID&amp;amp;gt;\w+)\s+" | eval start_time=strftime(_time,"%H:%M:%S.%2Q")  
| eval start_date=strftime(_time,"%m/%d/%y") 
| join JOBID [search index="ibmsyslog" JOBID="JOB*"  ENDED   
| eval end_time=strftime(_time,"%H:%M:%S.%2Q") 
| eval end_date=strftime(_time,"%m/%d/%y")]
| join JOBID [search index="ibmsyslog" JOBID="JOB*"  "-IDC* ENDED." 
| rex field=_raw "\w*\s+TOTAL TCB CPU TIME=(?P&amp;amp;lt;TotalCPUTime1&amp;amp;gt;[0-9 ]{3}.\d+)"
| rex field=_raw "\w*TOTAL ELAPSED TIME=(?P&amp;amp;lt;TotalElapsedTime1&amp;amp;gt;[0-9 ]+.\d+)"
] | join JOBID [search index="ibmsyslog" JOBID="JOB*"  "IS ASSIGNED TO THIS JOB"]| join type=LEFT JOBID [search index="ibmsyslog" JOBID="JOB*" "JCL ERROR"| eval JCLError="Yes" ]|eval JobExecutionTime=strptime(end_time,"%H:%M:%S.%2Q")-strptime(start_time,"%H:%M:%S.%2Q")| eval KPIName="Long Running Job"
| join KPIName [search index="threshold"]
| eval threshold=Threshold_Value_Medium 
| eval desired_time1=strptime(start_time,"%H:%M:%S.%2Q"),
desired_time2=strptime(end_time,"%H:%M:%S.%2Q") 
| eval diff=desired_time2-desired_time1 
|eval diff1=strftime(diff,"%H:%M:%S")
| eventstats sum(diff) as total by JobName 
| eventstats count(JobName) as counter by JobName 
| eval start=strptime("$start_time$","%H:%M:%S") 
| eval end=strptime("$end_time$","%H:%M:%S") 
| where desired_time1&amp;amp;gt;=start and desired_time2&amp;amp;lt;=end 
| eval avg=abs(total/counter)
|eval avg1=avg/60
|stats values(avg1) as AverageTime by  JobName JobExecutionTime threshold
| sort JobExecutionTime
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelVisibility"&amp;gt;show&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsY.majorUnit"&amp;gt;5&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Completion Time&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.includeZero"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;log&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.fieldColors"&amp;gt;{"red":0xFF0000,"yellow":0xFFFF00}&amp;lt;/option&amp;gt;
        &amp;lt;option name="height"&amp;gt;302&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="JobName"&amp;gt;$row.JobName$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Jul 2019 06:58:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452705#M55682</guid>
      <dc:creator>harinivgr</dc:creator>
      <dc:date>2019-07-01T06:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452706#M55683</link>
      <description>&lt;P&gt;@harinivgr &lt;BR /&gt;
This part of search is creating the issue&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field=_raw "^[^\$\n]*\$\w+\d+\s+(?P&amp;amp;lt;JobName&amp;amp;gt;\w+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Since you have two &lt;CODE&gt;$&lt;/CODE&gt; it assumes it as a token and waiting for the input&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 10:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452706#M55683</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-07-01T10:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452707#M55684</link>
      <description>&lt;P&gt;@harinivgr ,&lt;/P&gt;

&lt;P&gt;The regex part of your search is causing the problem. &lt;/P&gt;

&lt;P&gt;Replace&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=_raw "^[^\$\n]*\$\w+\d+\s+(?P&amp;lt;JobName&amp;gt;\w+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=_raw "^[^\$$\n]*\$$\w+\d+\s+(?P&amp;lt;JobName&amp;gt;\w+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;$&lt;/CODE&gt; sign is escaped with &lt;CODE&gt;$$&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 11:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452707#M55684</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-07-01T11:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: search is waiting for input error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452708#M55685</link>
      <description>&lt;P&gt;Thank you so much. Now it is working fine.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 11:15:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/search-is-waiting-for-input-error/m-p/452708#M55685</guid>
      <dc:creator>harinivgr</dc:creator>
      <dc:date>2019-07-01T11:15:24Z</dc:date>
    </item>
  </channel>
</rss>

