<?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 How to test splunk alerts created via python SDK in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-test-splunk-alerts-created-via-python-SDK/m-p/534876#M9619</link>
    <description>&lt;P&gt;Hi, I am creating alerts in my splunk instance using splunk python SDK. I am using example libraries/API as mentioned ---&amp;gt;&amp;nbsp;&lt;SPAN&gt;splunklib.client and&amp;nbsp;saved_searches.create&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The alerts are created and also scheduled via cron successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way&amp;nbsp; for me to allow users ability to test the newly created or existing alerts using python SDK interface? That is as soon as alerts are created they should get fired and user who created them can get a results of all triggered alerts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jan 2021 02:17:06 GMT</pubDate>
    <dc:creator>RS</dc:creator>
    <dc:date>2021-01-06T02:17:06Z</dc:date>
    <item>
      <title>How to test splunk alerts created via python SDK</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-test-splunk-alerts-created-via-python-SDK/m-p/534876#M9619</link>
      <description>&lt;P&gt;Hi, I am creating alerts in my splunk instance using splunk python SDK. I am using example libraries/API as mentioned ---&amp;gt;&amp;nbsp;&lt;SPAN&gt;splunklib.client and&amp;nbsp;saved_searches.create&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The alerts are created and also scheduled via cron successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way&amp;nbsp; for me to allow users ability to test the newly created or existing alerts using python SDK interface? That is as soon as alerts are created they should get fired and user who created them can get a results of all triggered alerts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 02:17:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-test-splunk-alerts-created-via-python-SDK/m-p/534876#M9619</guid>
      <dc:creator>RS</dc:creator>
      <dc:date>2021-01-06T02:17:06Z</dc:date>
    </item>
  </channel>
</rss>

