<?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 Enable Summary Index Search from REST API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497172#M84765</link>
    <description>&lt;P&gt;Hi!  We are on Splunk 7.2.0, and I am trying to automate setting up a Saved Search using an Ansible Playbook that would dump data into a Summary Index. What's odd is that I can get everything to work correctly, except for the "Enable Summary Index" (action.summary_index) won't go to "true" or accept the value of 1, but it does accept everything else.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   - name: Create Splunk Search to populate Summary Index
     uri:
       url: &lt;A href="https://&amp;lt;server&amp;gt;:8089/servicesNS/admin/chargeback/saved/searches" target="test_blank"&gt;https://&amp;lt;server&amp;gt;:8089/servicesNS/admin/chargeback/saved/searches&lt;/A&gt;
       method: POST
       user: admin
       password: "{{ splunk }}"
       body_format: form-urlencoded
       validate_certs: false
       status_code: 201
       body:
          name: "name"
          search: 'index=_internal"'
          dispatch.earliest_time: -1d@h
          dispatch.latest_time: now
          cron_schedule: 0 0 * * *
          action.summary_index: 1
          action.summary_index._name: index_utilization_summary
          is_scheduled: 1
       register: searchquery
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone please take a look and see perhaps if I'm using the wrong tag? I would appreciate it!&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Stephen&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 07:50:46 GMT</pubDate>
    <dc:creator>skirven</dc:creator>
    <dc:date>2020-05-14T07:50:46Z</dc:date>
    <item>
      <title>Enable Summary Index Search from REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497172#M84765</link>
      <description>&lt;P&gt;Hi!  We are on Splunk 7.2.0, and I am trying to automate setting up a Saved Search using an Ansible Playbook that would dump data into a Summary Index. What's odd is that I can get everything to work correctly, except for the "Enable Summary Index" (action.summary_index) won't go to "true" or accept the value of 1, but it does accept everything else.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   - name: Create Splunk Search to populate Summary Index
     uri:
       url: &lt;A href="https://&amp;lt;server&amp;gt;:8089/servicesNS/admin/chargeback/saved/searches" target="test_blank"&gt;https://&amp;lt;server&amp;gt;:8089/servicesNS/admin/chargeback/saved/searches&lt;/A&gt;
       method: POST
       user: admin
       password: "{{ splunk }}"
       body_format: form-urlencoded
       validate_certs: false
       status_code: 201
       body:
          name: "name"
          search: 'index=_internal"'
          dispatch.earliest_time: -1d@h
          dispatch.latest_time: now
          cron_schedule: 0 0 * * *
          action.summary_index: 1
          action.summary_index._name: index_utilization_summary
          is_scheduled: 1
       register: searchquery
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone please take a look and see perhaps if I'm using the wrong tag? I would appreciate it!&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Stephen&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497172#M84765</guid>
      <dc:creator>skirven</dc:creator>
      <dc:date>2020-05-14T07:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Summary Index Search from REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497173#M84766</link>
      <description>&lt;P&gt;I think I found my answer in the documentation here: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/RESTREF/RESTsearch"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/RESTREF/RESTsearch&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically, the REST value is read-only...?&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8890i85664AA4AD96407C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 12:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497173#M84766</guid>
      <dc:creator>skirven</dc:creator>
      <dc:date>2020-05-14T12:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Summary Index Search from REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497174#M84767</link>
      <description>&lt;P&gt;You need to use &lt;CODE&gt;actions: summary_index&lt;/CODE&gt; instead of &lt;CODE&gt;action.summary_index: 1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 12:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497174#M84767</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-05-14T12:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Summary Index Search from REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497175#M84768</link>
      <description>&lt;P&gt;Splendid! That did the trick! Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 13:08:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497175#M84768</guid>
      <dc:creator>skirven</dc:creator>
      <dc:date>2020-05-14T13:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Summary Index Search from REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497176#M84769</link>
      <description>&lt;P&gt;Welcome .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 13:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Enable-Summary-Index-Search-from-REST-API/m-p/497176#M84769</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-05-14T13:52:20Z</dc:date>
    </item>
  </channel>
</rss>

