<?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 Why is the REST API not able to edit attributes in a saved search? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-REST-API-not-able-to-edit-attributes-in-a-saved/m-p/290676#M55429</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;I am having a weird issue where I am trying to update certain attributes for a saved search - it does update few attributes, but not all attributes.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:pass -d action.email=0 -d alert.severity=2 &lt;A href="https://splunkserver:8089/servicesNS/nobody/search/saved/searches/SAMPLE%20REST%20API%20ALERT" target="test_blank"&gt;https://splunkserver:8089/servicesNS/nobody/search/saved/searches/SAMPLE%20REST%20API%20ALERT&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Running this updates the alert.severity to "2" but not setting action.email=0&lt;/P&gt;

&lt;P&gt;Am I using it wrong? any help is greatly appreciated&lt;/P&gt;</description>
    <pubDate>Mon, 26 Mar 2018 19:03:49 GMT</pubDate>
    <dc:creator>adityapavan18</dc:creator>
    <dc:date>2018-03-26T19:03:49Z</dc:date>
    <item>
      <title>Why is the REST API not able to edit attributes in a saved search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-REST-API-not-able-to-edit-attributes-in-a-saved/m-p/290676#M55429</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;I am having a weird issue where I am trying to update certain attributes for a saved search - it does update few attributes, but not all attributes.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:pass -d action.email=0 -d alert.severity=2 &lt;A href="https://splunkserver:8089/servicesNS/nobody/search/saved/searches/SAMPLE%20REST%20API%20ALERT" target="test_blank"&gt;https://splunkserver:8089/servicesNS/nobody/search/saved/searches/SAMPLE%20REST%20API%20ALERT&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Running this updates the alert.severity to "2" but not setting action.email=0&lt;/P&gt;

&lt;P&gt;Am I using it wrong? any help is greatly appreciated&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 19:03:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-REST-API-not-able-to-edit-attributes-in-a-saved/m-p/290676#M55429</guid>
      <dc:creator>adityapavan18</dc:creator>
      <dc:date>2018-03-26T19:03:49Z</dc:date>
    </item>
  </channel>
</rss>

