<?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: Could create search message in multiselect filter in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-create-search-message-in-multiselect-filter/m-p/700525#M57438</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you haven't add any SPL for query there.&lt;/P&gt;&lt;P&gt;You could check and use Splunk Dashboard example app &lt;A href="https://splunkbase.splunk.com/app/1603" target="_blank"&gt;https://splunkbase.splunk.com/app/1603&lt;/A&gt;&amp;nbsp;for creating your own dashboards.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            &amp;lt;input type="multiselect" token="sourcetype_token" searchWhenChanged="true"&amp;gt;
                &amp;lt;default&amp;gt;splunkd, splunk_web_service, splunkd_access&amp;lt;/default&amp;gt;
                &amp;lt;!-- The final value will be surrounded by prefix and suffix --&amp;gt;
                &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
                &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
                &amp;lt;!-- Each value will be surrounded by the valuePrefix and valueSuffix --&amp;gt;
                &amp;lt;valuePrefix&amp;gt;sourcetype="&amp;lt;/valuePrefix&amp;gt;
                &amp;lt;valueSuffix&amp;gt;"&amp;lt;/valueSuffix&amp;gt;
                &amp;lt;!-- All the values and their valuePrefix and valueSuffix will be concatenated together with the delimiter between them --&amp;gt;
                &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
                &amp;lt;choice value="*"&amp;gt;ALL&amp;lt;/choice&amp;gt;
                &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
                &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
                &amp;lt;search&amp;gt;
                    &amp;lt;query&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/query&amp;gt;
                    &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
                &amp;lt;/search&amp;gt;
            &amp;lt;/input&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Just add/modify &amp;lt;search&amp;gt;&amp;lt;query&amp;gt;....&amp;lt;/query&amp;gt;&amp;lt;/search&amp;gt; part into your form.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 11:44:12 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2024-09-30T11:44:12Z</dc:date>
    <item>
      <title>Could create search message in multiselect filter</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-create-search-message-in-multiselect-filter/m-p/700524#M57437</link>
      <description>&lt;P&gt;I am getting error "could not create search". How to fix this error ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gemrose_0-1727695353081.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32868i213A961D41DBDBD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gemrose_0-1727695353081.png" alt="gemrose_0-1727695353081.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;xml::&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;input type="multiselect" token="environment"&amp;gt;
&amp;lt;label&amp;gt;Environments&amp;lt;/label&amp;gt;
&amp;lt;choice value="cfp08"&amp;gt;p08&amp;lt;/choice&amp;gt;
&amp;lt;choice value="cfp07"&amp;gt;p07&amp;lt;/choice&amp;gt;
&amp;lt;choice value="*"&amp;gt;ALL&amp;lt;/choice&amp;gt;
&amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
&amp;lt;valuePrefix&amp;gt;environment =&amp;lt;/valuePrefix&amp;gt;
&amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
&amp;lt;search&amp;gt;
&amp;lt;query/&amp;gt;
&amp;lt;/search&amp;gt;
&amp;lt;fieldForLabel&amp;gt;environment&amp;lt;/fieldForLabel&amp;gt;
&amp;lt;fieldForValue&amp;gt;environment&amp;lt;/fieldForValue&amp;gt;
&amp;lt;/input&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 30 Sep 2024 14:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-create-search-message-in-multiselect-filter/m-p/700524#M57437</guid>
      <dc:creator>gemrose</dc:creator>
      <dc:date>2024-09-30T14:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Could create search message in multiselect filter</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-create-search-message-in-multiselect-filter/m-p/700525#M57438</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you haven't add any SPL for query there.&lt;/P&gt;&lt;P&gt;You could check and use Splunk Dashboard example app &lt;A href="https://splunkbase.splunk.com/app/1603" target="_blank"&gt;https://splunkbase.splunk.com/app/1603&lt;/A&gt;&amp;nbsp;for creating your own dashboards.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            &amp;lt;input type="multiselect" token="sourcetype_token" searchWhenChanged="true"&amp;gt;
                &amp;lt;default&amp;gt;splunkd, splunk_web_service, splunkd_access&amp;lt;/default&amp;gt;
                &amp;lt;!-- The final value will be surrounded by prefix and suffix --&amp;gt;
                &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
                &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
                &amp;lt;!-- Each value will be surrounded by the valuePrefix and valueSuffix --&amp;gt;
                &amp;lt;valuePrefix&amp;gt;sourcetype="&amp;lt;/valuePrefix&amp;gt;
                &amp;lt;valueSuffix&amp;gt;"&amp;lt;/valueSuffix&amp;gt;
                &amp;lt;!-- All the values and their valuePrefix and valueSuffix will be concatenated together with the delimiter between them --&amp;gt;
                &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
                &amp;lt;choice value="*"&amp;gt;ALL&amp;lt;/choice&amp;gt;
                &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
                &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
                &amp;lt;search&amp;gt;
                    &amp;lt;query&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/query&amp;gt;
                    &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
                &amp;lt;/search&amp;gt;
            &amp;lt;/input&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Just add/modify &amp;lt;search&amp;gt;&amp;lt;query&amp;gt;....&amp;lt;/query&amp;gt;&amp;lt;/search&amp;gt; part into your form.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 11:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-create-search-message-in-multiselect-filter/m-p/700525#M57438</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-09-30T11:44:12Z</dc:date>
    </item>
  </channel>
</rss>

