<?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: fetch alerts created by a particular user using REST API in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499016#M8993</link>
    <description>&lt;P&gt;Using external tool postman.&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 09:38:11 GMT</pubDate>
    <dc:creator>santosh_bwn</dc:creator>
    <dc:date>2020-05-14T09:38:11Z</dc:date>
    <item>
      <title>fetch alerts created by a particular user using REST API</title>
      <link>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499014#M8991</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to fetch the alerts created by a particular user using REST APIs. How can i filter it?&lt;BR /&gt;Generally on UI, under alerts, there will be a yours tab which shows alerts created by me. How can i achieve similar thing using REST API(for myself or any other user).&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Santosh&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 01:13:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499014#M8991</guid>
      <dc:creator>santosh_bwn</dc:creator>
      <dc:date>2020-06-09T01:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: fetch alerts created by a particular user using REST API</title>
      <link>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499015#M8992</link>
      <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;

&lt;P&gt;When you say fetch are you looking at the REST command directly via the UI in splunk or an external tool? &lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 08:40:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499015#M8992</guid>
      <dc:creator>Sfry1981</dc:creator>
      <dc:date>2020-05-14T08:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: fetch alerts created by a particular user using REST API</title>
      <link>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499016#M8993</link>
      <description>&lt;P&gt;Using external tool postman.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 09:38:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499016#M8993</guid>
      <dc:creator>santosh_bwn</dc:creator>
      <dc:date>2020-05-14T09:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: fetch alerts created by a particular user using REST API</title>
      <link>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499017#M8994</link>
      <description>&lt;P&gt;i use postman for modular input time to time with splunk but i have splunk cloud so it will be different to yours but the below should work. &lt;/P&gt;

&lt;P&gt;Make a GET to &lt;A href="https://:/services/alerts/alert_actions" target="test_blank"&gt;https://:/services/alerts/alert_actions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;this should bring back the whole xml you need of ll the saved searches. After this to filter you may need to write a test script to filter what you need via variables so you would have to set up a new environment to capture these variables&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 09:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499017#M8994</guid>
      <dc:creator>Sfry1981</dc:creator>
      <dc:date>2020-05-14T09:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: fetch alerts created by a particular user using REST API</title>
      <link>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499018#M8995</link>
      <description>&lt;P&gt;Thanks. Will check this approach&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 11:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499018#M8995</guid>
      <dc:creator>santosh_bwn</dc:creator>
      <dc:date>2020-05-14T11:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: fetch alerts created by a particular user using REST API</title>
      <link>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499019#M8996</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You can use below REST API to fetch particular user saved searches.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://&amp;lt;your_splunk_instance&amp;gt;:8089/servicesNS/-/-/saved/searches?search=(eai:acl.owner=&amp;quot;USERID&amp;quot;)" target="test_blank"&gt;https://&amp;lt;your_splunk_instance&amp;gt;:8089/servicesNS/-/-/saved/searches?search=(eai:acl.owner="USERID")&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want to search for particular user and from particular app then use below query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://&amp;lt;your_splunk_instance&amp;gt;:8089/servicesNS/-/-/saved/searches?search=(eai:acl.owner=&amp;quot;USERID&amp;quot;)" target="test_blank"&gt;https://&amp;lt;your_splunk_instance&amp;gt;:8089/servicesNS/-/-/saved/searches?search=(eai:acl.owner="USERID")&lt;/A&gt; AND (eai:acl.app="App_Folder_Name")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 May 2020 11:43:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/fetch-alerts-created-by-a-particular-user-using-REST-API/m-p/499019#M8996</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-05-14T11:43:56Z</dc:date>
    </item>
  </channel>
</rss>

