<?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 change index value based on the dropdown selection in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500093#M376</link>
    <description>&lt;P&gt;So as per the Daily and Monthly selection index has to vary&lt;/P&gt;
&lt;P&gt;Daily = index1&lt;BR /&gt;Monthly=index2&lt;/P&gt;
&lt;P&gt;Thanks in Advance!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset&amp;gt;
      &amp;lt;label&amp;gt;Report Type&amp;lt;/label&amp;gt;
       &amp;lt;choice value="Daily"&amp;gt;Daily&amp;lt;/choice&amp;gt;
        &amp;lt;choice value="Monthly"&amp;gt;Monthly&amp;lt;/choice&amp;gt;
&amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 07 Jun 2020 16:22:54 GMT</pubDate>
    <dc:creator>kavyakanne</dc:creator>
    <dc:date>2020-06-07T16:22:54Z</dc:date>
    <item>
      <title>change index value based on the dropdown selection</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500093#M376</link>
      <description>&lt;P&gt;So as per the Daily and Monthly selection index has to vary&lt;/P&gt;
&lt;P&gt;Daily = index1&lt;BR /&gt;Monthly=index2&lt;/P&gt;
&lt;P&gt;Thanks in Advance!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset&amp;gt;
      &amp;lt;label&amp;gt;Report Type&amp;lt;/label&amp;gt;
       &amp;lt;choice value="Daily"&amp;gt;Daily&amp;lt;/choice&amp;gt;
        &amp;lt;choice value="Monthly"&amp;gt;Monthly&amp;lt;/choice&amp;gt;
&amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Jun 2020 16:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500093#M376</guid>
      <dc:creator>kavyakanne</dc:creator>
      <dc:date>2020-06-07T16:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: change index value based on the dropdown selection</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500094#M377</link>
      <description>&lt;P&gt;@gcusello &lt;/P&gt;

&lt;P&gt;Could you assist me here!&lt;/P&gt;

&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 08:38:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500094#M377</guid>
      <dc:creator>kavyakanne</dc:creator>
      <dc:date>2020-05-17T08:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: change index value based on the dropdown selection</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500095#M378</link>
      <description>&lt;P&gt;Hi @kavyakanne,&lt;BR /&gt;
try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Test dropdown 2&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="radio" token="index"&amp;gt;
      &amp;lt;label&amp;gt;Index&amp;lt;/label&amp;gt;
      &amp;lt;choice value="wineventlog"&amp;gt;wineventlog&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="_internal"&amp;gt;_internal&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;wineventlog&amp;lt;/default&amp;gt;
      &amp;lt;prefix&amp;gt;index="&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;event&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;$index$&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="list.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="list.wrap"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="maxLines"&amp;gt;5&amp;lt;/option&amp;gt;
        &amp;lt;option name="raw.drilldown"&amp;gt;full&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="table.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="table.sortDirection"&amp;gt;asc&amp;lt;/option&amp;gt;
        &amp;lt;option name="table.wrap"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="type"&amp;gt;list&amp;lt;/option&amp;gt;
      &amp;lt;/event&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Obviously, you can use a different search.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 08:59:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500095#M378</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-05-17T08:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: change index value based on the dropdown selection</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500096#M379</link>
      <description>&lt;P&gt;@kavyakanne  perhaps you could try below option if you are looking to change the index name based on the Report Type option that you select&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset submitButton="false"&amp;gt;
     &amp;lt;input type="dropdown" token="idx"&amp;gt;
       &amp;lt;label&amp;gt;Reporting Type&amp;lt;/label&amp;gt;
       &amp;lt;choice value="daily_report_index_name"&amp;gt;Daily&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="monthly_report_index_name"&amp;gt;Monthly&amp;lt;/choice&amp;gt;
       &amp;lt;default&amp;gt;daily_report_index_name&amp;lt;/default&amp;gt;
     &amp;lt;/input&amp;gt;
   &amp;lt;/fieldset&amp;gt;
&amp;lt;!-- modify the search query with token name --&amp;gt;
&amp;lt;row&amp;gt;
     &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Selected index option $idx$&amp;lt;title&amp;gt;
       &amp;lt;table&amp;gt;
         &amp;lt;search&amp;gt;
           &amp;lt;query&amp;gt;index=$idx$&amp;lt;/query&amp;gt;
           &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
           &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
           &amp;lt;/search&amp;gt;
&amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 17 May 2020 10:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500096#M379</guid>
      <dc:creator>sanjeev543</dc:creator>
      <dc:date>2020-05-17T10:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: change index value based on the dropdown selection</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500097#M380</link>
      <description>&lt;P&gt;Hi @kavyakanne,&lt;BR /&gt;
instead the index=weekly/monthly, you could insert in the choice the full search for each report,&lt;BR /&gt;
try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Test dropdown 2&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="radio" token="index"&amp;gt;
      &amp;lt;label&amp;gt;Index&amp;lt;/label&amp;gt;
      &amp;lt;choice value="index=wineventlog | stats count BY EventCode"&amp;gt;wineventlog&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="index=_internal | table _time source index sourcetype"&amp;gt;_internal&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;index=wineventlog | stats count BY EventCode&amp;lt;/default&amp;gt;
      &amp;lt;prefix/&amp;gt;
      &amp;lt;suffix/&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;$index$&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 10:32:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/change-index-value-based-on-the-dropdown-selection/m-p/500097#M380</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-05-17T10:32:31Z</dc:date>
    </item>
  </channel>
</rss>

