<?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 Why is my dashboard panel query only working in search mode(verbose)? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393635#M25750</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've observed that my dashboard panel query(that has stats) has returned no records when I have stats in it. But, when I tried to run the same query in the search page by selecting verbose mode, it returned the result.&lt;/P&gt;

&lt;P&gt;When I remove stats, it's working in the dashboard panel, but I need to count the records using stats per the requirement. Would like to check if there is a way to set verbose mode in a saved dashboard panel query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=db_errors | dbxlookup lookup=QERROR|eval earlyDate=strftime("1541836800", "%Y-%m-%d")|  eval latestDate=strftime("1542268800", "%Y-%m-%d")| eval createdOn=strptime(CREATED_ON, "%Y-%m-%d %H:%M:%S")|eval createdOn1=strftime(createdOn, "%Y-%m-%d")|where createdOn1&amp;gt;=earlyDate AND createdOn1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 14 Nov 2018 22:27:11 GMT</pubDate>
    <dc:creator>sureshkrovi</dc:creator>
    <dc:date>2018-11-14T22:27:11Z</dc:date>
    <item>
      <title>Why is my dashboard panel query only working in search mode(verbose)?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393635#M25750</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've observed that my dashboard panel query(that has stats) has returned no records when I have stats in it. But, when I tried to run the same query in the search page by selecting verbose mode, it returned the result.&lt;/P&gt;

&lt;P&gt;When I remove stats, it's working in the dashboard panel, but I need to count the records using stats per the requirement. Would like to check if there is a way to set verbose mode in a saved dashboard panel query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=db_errors | dbxlookup lookup=QERROR|eval earlyDate=strftime("1541836800", "%Y-%m-%d")|  eval latestDate=strftime("1542268800", "%Y-%m-%d")| eval createdOn=strptime(CREATED_ON, "%Y-%m-%d %H:%M:%S")|eval createdOn1=strftime(createdOn, "%Y-%m-%d")|where createdOn1&amp;gt;=earlyDate AND createdOn1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Nov 2018 22:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393635#M25750</guid>
      <dc:creator>sureshkrovi</dc:creator>
      <dc:date>2018-11-14T22:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel query only working in search mode(verbose)?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393636#M25751</link>
      <description>&lt;P&gt;@sureshkrovi ,&lt;/P&gt;

&lt;P&gt;If you trying stats on an extracted field, try explicitly mentioning the field list before your stats command. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=db_errors | dbxlookup lookup=QERROR|eval earlyDate=strftime("1541836800", "%Y-%m-%d")
| eval latestDate=strftime("1542268800", "%Y-%m-%d")| eval createdOn=strptime(CREATED_ON, "%Y-%m-%d %H:%M:%S")
|eval createdOn1=strftime(createdOn, "%Y-%m-%d")|where createdOn1&amp;gt;=earlyDate AND createdOn1
|fields field1,field2,..fieldn |stats count by yourfieldlists
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Nov 2018 08:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393636#M25751</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-11-15T08:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel query only working in search mode(verbose)?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393637#M25752</link>
      <description>&lt;P&gt;hi @sureshkrovi&lt;/P&gt;

&lt;P&gt;Try like this .&lt;/P&gt;

&lt;P&gt;Run your query in &lt;STRONG&gt;search page&lt;/STRONG&gt;.click on &lt;CODE&gt;visualization&lt;/CODE&gt; select which one you want.&lt;BR /&gt;
just &lt;CODE&gt;save&lt;/CODE&gt; it as &lt;CODE&gt;dashboard&lt;/CODE&gt; ,If you want to add in &lt;STRONG&gt;exciting dashboard&lt;/STRONG&gt; or &lt;STRONG&gt;new dashboard&lt;/STRONG&gt; with your own choice.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 10:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393637#M25752</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2018-11-15T10:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel query only working in search mode(verbose)?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393638#M25753</link>
      <description>&lt;P&gt;what yourfieldlists refer here.Is it single field or do I need to mention all the fields.I tried this option but didn't work out.Note that ERROR_CATEGORY_NAME is the lookup output field&lt;BR /&gt;
|eval createdOn1=strftime(createdOn, "%Y-%m-%d")|where createdOn1&amp;gt;=earlyDate AND createdOn1&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393638#M25753</guid>
      <dc:creator>sureshkrovi</dc:creator>
      <dc:date>2020-09-29T22:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel query only working in search mode(verbose)?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393639#M25754</link>
      <description>&lt;P&gt;One more observation is in search mode I see message "No data found yet" while query is running ,but in dashboard execution I didn't see this message.&lt;/P&gt;

&lt;P&gt;Is anything we can suspect query execution time?e.g dasbhboard execution stops when query takes long time&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 18:14:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393639#M25754</guid>
      <dc:creator>sureshkrovi</dc:creator>
      <dc:date>2018-11-15T18:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel query only working in search mode(verbose)?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393640#M25755</link>
      <description>&lt;P&gt;Never mind,this is resolved.fields should be before lookup not at the end as the filter(where clause) is getting null created_date if we put fields at end that fails the query.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 18:46:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dashboard-panel-query-only-working-in-search-mode/m-p/393640#M25755</guid>
      <dc:creator>sureshkrovi</dc:creator>
      <dc:date>2018-11-15T18:46:55Z</dc:date>
    </item>
  </channel>
</rss>

