<?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 my search work in the Search App, but not as an inline search in a dashboard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160615#M45422</link>
    <description>&lt;P&gt;You'll need to double escape the VAL and AGG as single $'s mean look for a token in a dashboard.&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index="job_event" | search error_number=05071 | eval "ACS Name"=acs_name | chart dedup_splitvals=t limit=100 useother=f count AS "# of Errors"  by "ACS Name" test_number format=$$VAL$$:::$$AGG$$ | sort limit=100 acs_name | fields - _span  | fields "ACS Name" *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your dashboard.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2015 18:29:59 GMT</pubDate>
    <dc:creator>Flynt</dc:creator>
    <dc:date>2015-04-20T18:29:59Z</dc:date>
    <item>
      <title>Why does my search work in the Search App, but not as an inline search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160613#M45420</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have the following search that works correctly in the search app, but when I tried to include it as an inline search in the dashboard, it doesn't work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="job_event" | search error_number=05071 | eval "ACS Name"=acs_name | chart dedup_splitvals=t limit=100 useother=f count AS "# of Errors"  by "ACS Name" test_number format=$VAL$:::$AGG$ | sort limit=100 acs_name | fields - _span  | fields "ACS Name" *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I already checked that all extracted fields have permission to appear in all apps and users.&lt;BR /&gt;
I also tried to change all quotation marks to &amp;amp; quot; but nothing changed.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2015 16:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160613#M45420</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-20T16:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my search work in the Search App, but not as an inline search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160614#M45421</link>
      <description>&lt;P&gt;I am also interested in an answer to this, as I have a similar question out that involves this issue and using the R Project app.  &lt;A href="http://answers.splunk.com/answers/229941/why-does-an-r-search-not-work-on-a-dashboard.html"&gt;http://answers.splunk.com/answers/229941/why-does-an-r-search-not-work-on-a-dashboard.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2015 18:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160614#M45421</guid>
      <dc:creator>krwinters11</dc:creator>
      <dc:date>2015-04-20T18:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my search work in the Search App, but not as an inline search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160615#M45422</link>
      <description>&lt;P&gt;You'll need to double escape the VAL and AGG as single $'s mean look for a token in a dashboard.&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index="job_event" | search error_number=05071 | eval "ACS Name"=acs_name | chart dedup_splitvals=t limit=100 useother=f count AS "# of Errors"  by "ACS Name" test_number format=$$VAL$$:::$$AGG$$ | sort limit=100 acs_name | fields - _span  | fields "ACS Name" *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your dashboard.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2015 18:29:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160615#M45422</guid>
      <dc:creator>Flynt</dc:creator>
      <dc:date>2015-04-20T18:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my search work in the Search App, but not as an inline search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160616#M45423</link>
      <description>&lt;P&gt;It worked perfectly. Thank you. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2015 18:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-search-work-in-the-Search-App-but-not-as-an-inline/m-p/160616#M45423</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-20T18:55:53Z</dc:date>
    </item>
  </channel>
</rss>

