<?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: REST API Endoint to create correlation search in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Is-it-possible-to-create-correlation-search-using-REST-API/m-p/579744#M1242</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241794"&gt;@vinith97&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, but I don't believe it's documented.&lt;/P&gt;&lt;P&gt;Correlation searches are saved searches similar to alerts with the correlationsearch action and various related actions: notable, risk, etc. The actions and their properties are defined in $SPLUNK_HOME/etc/apps/SA-ThreatIntelligence/default/alert_actions.conf.&lt;/P&gt;&lt;P&gt;There are various examples of correlation searches in savedsearches.conf in each of the app modules included with Splunk ES.&lt;/P&gt;&lt;P&gt;To reverse engineer the process, you can create a correlation search in the user interface and check savedsearches.conf to see which settings are applied. You can then duplicate the process using the saved/searches API endpoint (see &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches&lt;/A&gt;&amp;nbsp;) and its action parameter. After the search is saved, you can modify action parameters with the saved/searches/{name} endpoint (see &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;If you don't have access to configuration files, you may need to test on a private instance. I don't use Splunk Cloud, and you may need to contact Splunk support to confirm your solution is supported.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jan 2022 22:27:33 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2022-01-02T22:27:33Z</dc:date>
    <item>
      <title>Is it possible to create correlation search using REST API Endpoint?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Is-it-possible-to-create-correlation-search-using-REST-API/m-p/579438#M1239</link>
      <description>&lt;P&gt;Hello, Is it possible to create correlation search in splunk ES app using REST API?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 23:15:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Is-it-possible-to-create-correlation-search-using-REST-API/m-p/579438#M1239</guid>
      <dc:creator>vinith97</dc:creator>
      <dc:date>2022-06-29T23:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Endoint to create correlation search</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Is-it-possible-to-create-correlation-search-using-REST-API/m-p/579744#M1242</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241794"&gt;@vinith97&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, but I don't believe it's documented.&lt;/P&gt;&lt;P&gt;Correlation searches are saved searches similar to alerts with the correlationsearch action and various related actions: notable, risk, etc. The actions and their properties are defined in $SPLUNK_HOME/etc/apps/SA-ThreatIntelligence/default/alert_actions.conf.&lt;/P&gt;&lt;P&gt;There are various examples of correlation searches in savedsearches.conf in each of the app modules included with Splunk ES.&lt;/P&gt;&lt;P&gt;To reverse engineer the process, you can create a correlation search in the user interface and check savedsearches.conf to see which settings are applied. You can then duplicate the process using the saved/searches API endpoint (see &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches&lt;/A&gt;&amp;nbsp;) and its action parameter. After the search is saved, you can modify action parameters with the saved/searches/{name} endpoint (see &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;If you don't have access to configuration files, you may need to test on a private instance. I don't use Splunk Cloud, and you may need to contact Splunk support to confirm your solution is supported.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jan 2022 22:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Is-it-possible-to-create-correlation-search-using-REST-API/m-p/579744#M1242</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2022-01-02T22:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Endoint to create correlation search</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Is-it-possible-to-create-correlation-search-using-REST-API/m-p/603764#M1570</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/RESTTUT/RESTsearches" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/RESTTUT/RESTsearches&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this works &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241794"&gt;@vinith97&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 13:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Is-it-possible-to-create-correlation-search-using-REST-API/m-p/603764#M1570</guid>
      <dc:creator>msjsplunk</dc:creator>
      <dc:date>2022-06-29T13:30:09Z</dc:date>
    </item>
  </channel>
</rss>

