<?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 does this search fail when the dashboard panel loads, but runs successfully when executed manually. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292796#M18590</link>
    <description>&lt;P&gt;The search isn't by chance derived from a base search? If so, you might have to define which fields are going to be handed down by the base search to the sub-searches in the dashboard. &lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2017 11:19:59 GMT</pubDate>
    <dc:creator>hettervik</dc:creator>
    <dc:date>2017-11-22T11:19:59Z</dc:date>
    <item>
      <title>Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292792#M18586</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I have a power user search that I am having problems with. &lt;/P&gt;

&lt;P&gt;When the dashboard loads the search in one of the panels fails, I get a subsearch error from each indexers in my deployment. &lt;/P&gt;

&lt;P&gt;Yet if I open the search in a separate window (Open in Search) it works.&lt;/P&gt;

&lt;P&gt;Does anyone know what would cause this?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;SPL Below&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
index=testsearch sourcetype=transaction (application="SharePoint Static" OR application="SharePointStatic" OR application="SharePointUpload" OR application="SPTeamSiteMySite*") transaction="*UploadTestFile3MB" transaction_status="Success"&lt;/P&gt;

&lt;P&gt;|eval secs=round(duration/1000) &lt;BR /&gt;
|lookup local=1 testsearch_network_mapping_file.csv hostname OUTPUT longitude latitude UserCount DisplayName &lt;BR /&gt;
|search (UserCount &amp;gt; 0 AND UserCount &amp;lt; 100000000) DisplayName != "Frank - Campus (&lt;EM&gt;" |rangemap field=secs Good=0-3 Fair=3-4 Bad=4-2000&lt;BR /&gt;&lt;BR /&gt;
|stats count AS TransTot max(UserCount) AS Users max(longitude) AS long max(latitude) AS lat BY DisplayName range &lt;BR /&gt;
|join DisplayName [search index=testsearch sourcetype=transaction (application="SharePoint Static" OR applicaton="SharePointStatic" OR application="SharePointUpload" OR application="SPTeamSiteMySite&lt;/EM&gt;") transaction="*UploadTestFile3MB" &lt;BR /&gt;
|lookup testsearch_network_mapping_file.csv hostname OUTPUT DisplayName &lt;BR /&gt;
|stats count AS SiteTotal by DisplayName] &lt;BR /&gt;
|eval ChartValue=TransTot*Users/SiteTotal &lt;BR /&gt;
|table *&lt;BR /&gt;
|geostats latfield=lat longfield=long sum(ChartValue) by range&lt;BR /&gt;
|eval s=Good+Bad+Fair &lt;BR /&gt;
|eval Good%=round((Good / s) * 100,2)&lt;BR /&gt;
|eval Bad%= round((Bad / s ) *100,2)&lt;BR /&gt;
|eval Fair%=round((Fair / s) * 100,2)&lt;BR /&gt;
| fields - s&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292792#M18586</guid>
      <dc:creator>abeeber_2</dc:creator>
      <dc:date>2020-09-29T16:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292793#M18587</link>
      <description>&lt;P&gt;So what is the error message you get from the indexers? Can you please check the job inspector and post the error as well, please ?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 22:03:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292793#M18587</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-21T22:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292794#M18588</link>
      <description>&lt;P&gt;MuS,&lt;/P&gt;

&lt;P&gt;Here are the indexer related errors..&lt;/P&gt;

&lt;P&gt;The indexers are windows 2008R2 (to be migrated to RHEL very soon).&lt;/P&gt;

&lt;P&gt;error : [subsearch]: [PRODASRV235] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODASRV236] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODASRV274] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODASRV354] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODASRV411] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODASRV423] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODASRV630] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV236] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV237] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV238] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV239] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV321] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV374] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV380] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV381] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [PRODBSRV630] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [KULAPP235] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [KULAPP236] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [LHDAPP235] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
error : [subsearch]: [LHDAPP236] Search process did not exit cleanly, exit_code=-1, description="exited with code -1". Please look in search.log for this peer in the Job Inspector for more info.&lt;BR /&gt;
(SID: &lt;EM&gt;YXJiZWViZUBuYS54b20uY29t_YXJiZWViZUBuYS54b20uY29t_MTAwX1hPTV9FMkVfc2hhcmVwb2ludA&lt;/EM&gt;_search1_1511303688.4262_588B113C-A2D3-42E1-ACE2-8E5D47E3C0DE)  search.log&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292794#M18588</guid>
      <dc:creator>abeeber_2</dc:creator>
      <dc:date>2020-09-29T16:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292795#M18589</link>
      <description>&lt;P&gt;Would the length of the sid be a problem? I noticed that when I run the search manually, the sid is much shorter.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 22:39:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292795#M18589</guid>
      <dc:creator>abeeber_2</dc:creator>
      <dc:date>2017-11-21T22:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292796#M18590</link>
      <description>&lt;P&gt;The search isn't by chance derived from a base search? If so, you might have to define which fields are going to be handed down by the base search to the sub-searches in the dashboard. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 11:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292796#M18590</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2017-11-22T11:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292797#M18591</link>
      <description>&lt;P&gt;@hettervi,&lt;/P&gt;

&lt;P&gt;good question. I am working through the syntax to figure that out. I'm thinking the join might be part of the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 14:20:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292797#M18591</guid>
      <dc:creator>abeeber_2</dc:creator>
      <dc:date>2017-11-22T14:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292798#M18592</link>
      <description>&lt;P&gt;Here is my fix/RCA.&lt;/P&gt;

&lt;P&gt;Turns out the root cause was using Windows 2008R2 for the index tier.&lt;/P&gt;

&lt;P&gt;Using SSO AD accounts that have FQDN meant the hashed value of the search sid exceeded the character limit of the server. This was identified by using the | history command to see the difference.&lt;/P&gt;

&lt;P&gt;Ultimately, we're migrating the index tier to RHEL and as a workaround, I'm creating shared local accounts to facilitate access.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 16:33:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292798#M18592</guid>
      <dc:creator>abeeber_2</dc:creator>
      <dc:date>2017-11-28T16:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this search fail when the dashboard panel loads, but runs successfully when executed manually.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292799#M18593</link>
      <description>&lt;P&gt;More intel.&lt;/P&gt;

&lt;P&gt;Turns out there is a bug/fix in Splunk 6.4.5 where they shortened a temp file from 30 characters to 16.&lt;/P&gt;

&lt;P&gt;We installed 6.4.9 on the index tier and the problem went away. &lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 20:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-this-search-fail-when-the-dashboard-panel-loads-but/m-p/292799#M18593</guid>
      <dc:creator>abeeber_2</dc:creator>
      <dc:date>2017-11-29T20:57:41Z</dc:date>
    </item>
  </channel>
</rss>

