<?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 Report with parameter action.email Splunk API / Splunk Web in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Report-with-parameter-action-email-Splunk-API-Splunk-Web/m-p/568240#M10075</link>
    <description>&lt;P&gt;Hello Community&lt;/P&gt;&lt;P&gt;I have some troubles with the option "action.email" in a saved search. I want to create a report with the Splunk API and set the available parameter "action.email" to "true" / "1" (because the default value is false).&lt;/P&gt;&lt;P&gt;I tried it like the below query, but it's not working as expected. After executing it's always the default value (false) and Splunk didn't changed it to&amp;nbsp; "true" or "1":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u &amp;lt;splunk_username&amp;gt;:&amp;lt;splunk_password&amp;gt; https://&amp;lt;splunk_ip&amp;gt;:&amp;lt;splunk_mgmt-port&amp;gt;/servicesNS/&amp;lt;user&amp;gt;/&amp;lt;app&amp;gt;/saved/searches -d name=Test_Report -d action.email=1 --data-urlencode -d search="&amp;lt;splunk_query&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a second step I tried to edit the report directly in Splunk Web -&amp;gt; Search, Reports, and Alerts -&amp;gt; testReport -&amp;gt; Advanced Edit. But everytime after I saved the report with the new parameter "action.email = 1" it looks like Splunk is reseting this value back to "false".&lt;/P&gt;&lt;P&gt;In my behavior., Splunk only saves the value "true" consistent after I edited the savedsearches.conf file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help my with this problem?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 13:16:45 GMT</pubDate>
    <dc:creator>fst01</dc:creator>
    <dc:date>2021-09-23T13:16:45Z</dc:date>
    <item>
      <title>Report with parameter action.email Splunk API / Splunk Web</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Report-with-parameter-action-email-Splunk-API-Splunk-Web/m-p/568240#M10075</link>
      <description>&lt;P&gt;Hello Community&lt;/P&gt;&lt;P&gt;I have some troubles with the option "action.email" in a saved search. I want to create a report with the Splunk API and set the available parameter "action.email" to "true" / "1" (because the default value is false).&lt;/P&gt;&lt;P&gt;I tried it like the below query, but it's not working as expected. After executing it's always the default value (false) and Splunk didn't changed it to&amp;nbsp; "true" or "1":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u &amp;lt;splunk_username&amp;gt;:&amp;lt;splunk_password&amp;gt; https://&amp;lt;splunk_ip&amp;gt;:&amp;lt;splunk_mgmt-port&amp;gt;/servicesNS/&amp;lt;user&amp;gt;/&amp;lt;app&amp;gt;/saved/searches -d name=Test_Report -d action.email=1 --data-urlencode -d search="&amp;lt;splunk_query&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a second step I tried to edit the report directly in Splunk Web -&amp;gt; Search, Reports, and Alerts -&amp;gt; testReport -&amp;gt; Advanced Edit. But everytime after I saved the report with the new parameter "action.email = 1" it looks like Splunk is reseting this value back to "false".&lt;/P&gt;&lt;P&gt;In my behavior., Splunk only saves the value "true" consistent after I edited the savedsearches.conf file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help my with this problem?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 13:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Report-with-parameter-action-email-Splunk-API-Splunk-Web/m-p/568240#M10075</guid>
      <dc:creator>fst01</dc:creator>
      <dc:date>2021-09-23T13:16:45Z</dc:date>
    </item>
  </channel>
</rss>

