<?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: Add/Update email in alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577040#M13290</link>
    <description>&lt;P&gt;You can create a search and send email to any email address you want using the sendemail function.&lt;BR /&gt;This can be only done by using the Splunk's REST API.&amp;nbsp;&lt;BR /&gt;You can create custom REST endpoints if needed in Splunk to cater certain functions.&lt;BR /&gt;&lt;BR /&gt;Also explore the Splunk's Java and Python SDK.&lt;BR /&gt;&lt;BR /&gt;Sharing some resources to explore and refer&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTREF/RESTlist" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTREF/RESTlist&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Sendemail" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Sendemail&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTTUT/RESTsearches" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTTUT/RESTsearches&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/devtools/java/sdk-java/" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/devtools/java/sdk-java/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 12:32:53 GMT</pubDate>
    <dc:creator>Gr0und_Z3r0</dc:creator>
    <dc:date>2021-12-02T12:32:53Z</dc:date>
    <item>
      <title>Add/Update email in alert</title>
      <link>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577030#M13289</link>
      <description>&lt;P&gt;I have created a search which is working fine. It sends an email when the alert condition meets.&lt;/P&gt;&lt;P&gt;My question is, is there any way I can add/update the email address in my alert using curl command?&lt;/P&gt;&lt;P&gt;also can I update my alert search query using curl command?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 11:51:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577030#M13289</guid>
      <dc:creator>AlokPanday</dc:creator>
      <dc:date>2021-12-02T11:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Update email in alert</title>
      <link>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577040#M13290</link>
      <description>&lt;P&gt;You can create a search and send email to any email address you want using the sendemail function.&lt;BR /&gt;This can be only done by using the Splunk's REST API.&amp;nbsp;&lt;BR /&gt;You can create custom REST endpoints if needed in Splunk to cater certain functions.&lt;BR /&gt;&lt;BR /&gt;Also explore the Splunk's Java and Python SDK.&lt;BR /&gt;&lt;BR /&gt;Sharing some resources to explore and refer&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTREF/RESTlist" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTREF/RESTlist&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Sendemail" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Sendemail&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTTUT/RESTsearches" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/RESTTUT/RESTsearches&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/devtools/java/sdk-java/" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/devtools/java/sdk-java/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 12:32:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577040#M13290</guid>
      <dc:creator>Gr0und_Z3r0</dc:creator>
      <dc:date>2021-12-02T12:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Update email in alert</title>
      <link>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577066#M13292</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;that's work like&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240999"&gt;@Gr0und_Z3r0&lt;/a&gt;&amp;nbsp;said. For curiosity, what it the problem which you are trying to solve? Just wondering is there any other way to solve it.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 14:34:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577066#M13292</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-12-02T14:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Update email in alert</title>
      <link>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577201#M13294</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240999"&gt;@Gr0und_Z3r0&lt;/a&gt;&amp;nbsp; for the replay.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;I have created an alert in Splunk and I want to create a user interface from where I can update the alert like&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl&amp;nbsp;--location&amp;nbsp;--request&amp;nbsp;POST&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://localhost:8089/servicesNS/nobody/MP/saved/searches/test4" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/MP/saved/searches/test4&lt;/A&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--data-urlencode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'description=Test4 alert'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--data-urlencode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'alert.severity=4'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--data-urlencode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'dispatch.earliest_time=-20m'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--data-urlencode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'dispatch.latest_time=now'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--data-urlencode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'cron_schedule=*/5&amp;nbsp;*&amp;nbsp;*&amp;nbsp;*&amp;nbsp;*'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;user will be able to update the fields from Interface.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you..&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 11:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Add-Update-email-in-alert/m-p/577201#M13294</guid>
      <dc:creator>AlokPanday</dc:creator>
      <dc:date>2021-12-03T11:13:10Z</dc:date>
    </item>
  </channel>
</rss>

