<?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: enable case sensitive for values in dashboard. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211996#M13241</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="index_test1" sourcetype="st_test1" MyStatus="Failed" source=$source_tok$ $hostname_token$ | where source=$source_tok$ | stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 24 Sep 2016 20:56:37 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-09-24T20:56:37Z</dc:date>
    <item>
      <title>enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211987#M13232</link>
      <description>&lt;P&gt;Hi experts,&lt;BR /&gt;
I want to enable case sensitive for values in dashboard.&lt;BR /&gt;
I do not want to combine varied cases in one.&lt;/P&gt;

&lt;P&gt;index="index_test1" sourcetype="st_test1" MyStatus="Failed"  $source_tok$ $hostname_token$ |stats count&lt;/P&gt;

&lt;P&gt;The above search should treat upper case and lower case for  $source_tok$ differently.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211987#M13232</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2020-09-29T11:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211988#M13233</link>
      <description>&lt;P&gt;Based on what goes in your token $source_tok$ (whether its just some string OR fieldname=value format), you can use CASE function of the search command (works in &lt;CODE&gt;| search&lt;/CODE&gt; and base search), like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="index_test1" sourcetype="st_test1" MyStatus="Failed" CASE($source_tok$) $hostname_token$ |stats count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If your $source_tok$ is in format source="somevalue", update the form input to include CASE while setting the token.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 15:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211988#M13233</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-23T15:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211989#M13234</link>
      <description>&lt;P&gt;Hi Somesoni2,&lt;/P&gt;

&lt;P&gt;CASE is not working for me. &lt;CODE&gt;|stats count&lt;/CODE&gt; is returning 0 values.&lt;/P&gt;

&lt;P&gt;But i found the following description for CASE which has the functionality other than case sensitivity.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;This function takes pairs of arguments X and Y. The X arguments are Boolean expressions that will be evaluated from first to last. When the first X expression is encountered that evaluates to TRUE, the corresponding Y argument will be returned. The function defaults to NULL if none are true.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Sep 2016 16:36:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211989#M13234</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2016-09-24T16:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211990#M13235</link>
      <description>&lt;P&gt;The case that you're seeing is for &lt;CODE&gt;eval&lt;/CODE&gt; command, the One I;m talking to is works with &lt;CODE&gt;search&lt;/CODE&gt; command.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.3/SearchReference/Search#Search_with_CASE.28.29"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.3/SearchReference/Search#Search_with_CASE.28.29&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Could you post from where the token $source_tok$ is being populated and what value it  holds?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 16:56:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211990#M13235</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-24T16:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211991#M13236</link>
      <description>&lt;P&gt;$source_tok$ comes from a drop down. It returns souce="some value".&lt;/P&gt;

&lt;P&gt;I want to treat "some value" as case insensitive in the dasboard.&lt;BR /&gt;
The dashboard gets filled on the basis of drop down selection. &lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 17:17:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211991#M13236</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2016-09-24T17:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211992#M13237</link>
      <description>&lt;P&gt;$source_tok$ comes from a drop down. It returns souce="some value".I want to treat "some value" as case sensitive in the dasboard.The dashboard gets filled on the basis of drop down selection.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 17:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211992#M13237</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2016-09-24T17:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211993#M13238</link>
      <description>&lt;P&gt;You would need to update your dropdown code to include the CASE function. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="dropdown" token="source_tok"&amp;gt;
      &amp;lt;label&amp;gt;Select a source&amp;lt;/label&amp;gt;
    ..other settings...
    &amp;lt;prefix&amp;gt;source=CASE(&amp;lt;/prefix&amp;gt;
    &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
    ..other settings...
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR just remove both prefix and suffix, and update your search to use &lt;CODE&gt;source=$source_tok$&lt;/CODE&gt; instead of just $source_tok$.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 17:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211993#M13238</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-24T17:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211994#M13239</link>
      <description>&lt;P&gt;Thank you. I will try this.&lt;/P&gt;

&lt;P&gt;Is there any way to refresh the panel in the dasboard whenever I select an option in drop down?  I want the panel should be in page-1 when I make a selection in drop down. &lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 17:49:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211994#M13239</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2016-09-24T17:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211995#M13240</link>
      <description>&lt;P&gt;Add the option searchWhenChanged as true in the xml (OR check the "Search When changed" checkbox")&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 17:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211995#M13240</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-24T17:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211996#M13241</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="index_test1" sourcetype="st_test1" MyStatus="Failed" source=$source_tok$ $hostname_token$ | where source=$source_tok$ | stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Sep 2016 20:56:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211996#M13241</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-24T20:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211997#M13242</link>
      <description>&lt;P&gt;Now the count is right. But will this where cluase effect the count as search has to consider the second token $hostname_token$ aswell?&lt;BR /&gt;&lt;BR /&gt;
    index="index_test1" sourcetype="st_test1" MyStatus="Failed" source=$source_tok$ $hostname_token$ | where source=$source_tok$ | stats count&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:05:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211997#M13242</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2020-09-29T11:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211998#M13243</link>
      <description>&lt;P&gt;Hi somesoni2,&lt;/P&gt;

&lt;P&gt;I do not see any "Search when Changed" option for panel.&lt;BR /&gt;
This option is already enabled for drop down.&lt;/P&gt;

&lt;P&gt;No matter on which page the table on panel is, it should come to first page when i make a different selection on drop down.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 02:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211998#M13243</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2016-09-25T02:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211999#M13244</link>
      <description>&lt;P&gt;You can add host name as well. &lt;/P&gt;

&lt;P&gt;index="index_test1" sourcetype="st_test1" MyStatus="Failed" source=$source_tok$ host=$hostname_token$  | where source=$source_tok$ AND host=$hostname_token$ | stats count&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:09:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/211999#M13244</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2020-09-29T11:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/212000#M13245</link>
      <description>&lt;P&gt;Thank you.  This will help. I am curious to know how where clause is making it case sensitive? &lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 04:02:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/212000#M13245</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2016-09-25T04:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: enable case sensitive for values in dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/212001#M13246</link>
      <description>&lt;P&gt;search is case in-sensitive and where is case-sensitive. The reason you have the token values before the where clause is to make the search more efficient. Limit the results to only matching source case insensitive and then further filter it in the where&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 14:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/enable-case-sensitive-for-values-in-dashboard/m-p/212001#M13246</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-25T14:58:20Z</dc:date>
    </item>
  </channel>
</rss>

