<?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 Query for Alert_identification in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Query-for-Alert-identification/m-p/388996#M4149</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I tried the below query and got the results as well but my concern is who is modifying, deleting or creating new alerts?&lt;/P&gt;

&lt;P&gt;How can I search about existing alerts in my Splunk environment?&lt;/P&gt;

&lt;P&gt;Thanks in advance!!&lt;/P&gt;

&lt;P&gt;QUERY:&lt;BR /&gt;
index=_internal sourcetype=splunkd_access &lt;BR /&gt;
(method=POST OR method=DELETE)&lt;BR /&gt;
(user!=splunk-system-user user!=-)&lt;BR /&gt;
(uri_path=/servicesNS/* uri_path!="&lt;EM&gt;/user-prefs/&lt;/EM&gt;" uri_path!="/servicesNS/&lt;EM&gt;/&lt;/EM&gt;/&lt;EM&gt;/jobs/&lt;/EM&gt;/control" uri_path!=/servicesNS/&lt;EM&gt;/mobile_access&lt;/EM&gt; )&lt;BR /&gt;
| replace "&lt;EM&gt;/ui/views&lt;/EM&gt;" with "&lt;EM&gt;/ui_views&lt;/EM&gt;", "&lt;EM&gt;/props&lt;/EM&gt;" with "*&lt;EM&gt;", "&lt;/EM&gt;/distributed/peers*" with "&lt;EM&gt;/distributed_peers&lt;/EM&gt;", "&lt;EM&gt;/server/serverclasses&lt;/EM&gt;" with "&lt;EM&gt;/server_class&lt;/EM&gt;" in uri_path&lt;BR /&gt;
| where mvcount( split( uri_path , "/" ) ) &amp;gt; 6&lt;BR /&gt;
| eval activity = case( method=="POST" AND like( uri_path , "%/acl" ) , "Permissions Update", method=="POST" AND NOT like( uri_path , "%/acl" ) , "Edited" , method="DELETE" , "Deleted" )&lt;BR /&gt;
| rex field=uri_path "/servicesNS(/[^\/]+){3}/(?[^\/]+)/(?[^\/]+)"&lt;BR /&gt;
| eval object_name = urldecode( object_name )&lt;BR /&gt;
| table _time, user, object_name, object_type, activity|&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:56:06 GMT</pubDate>
    <dc:creator>adm_rashi</dc:creator>
    <dc:date>2020-09-29T23:56:06Z</dc:date>
    <item>
      <title>Query for Alert_identification</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Query-for-Alert-identification/m-p/388996#M4149</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I tried the below query and got the results as well but my concern is who is modifying, deleting or creating new alerts?&lt;/P&gt;

&lt;P&gt;How can I search about existing alerts in my Splunk environment?&lt;/P&gt;

&lt;P&gt;Thanks in advance!!&lt;/P&gt;

&lt;P&gt;QUERY:&lt;BR /&gt;
index=_internal sourcetype=splunkd_access &lt;BR /&gt;
(method=POST OR method=DELETE)&lt;BR /&gt;
(user!=splunk-system-user user!=-)&lt;BR /&gt;
(uri_path=/servicesNS/* uri_path!="&lt;EM&gt;/user-prefs/&lt;/EM&gt;" uri_path!="/servicesNS/&lt;EM&gt;/&lt;/EM&gt;/&lt;EM&gt;/jobs/&lt;/EM&gt;/control" uri_path!=/servicesNS/&lt;EM&gt;/mobile_access&lt;/EM&gt; )&lt;BR /&gt;
| replace "&lt;EM&gt;/ui/views&lt;/EM&gt;" with "&lt;EM&gt;/ui_views&lt;/EM&gt;", "&lt;EM&gt;/props&lt;/EM&gt;" with "*&lt;EM&gt;", "&lt;/EM&gt;/distributed/peers*" with "&lt;EM&gt;/distributed_peers&lt;/EM&gt;", "&lt;EM&gt;/server/serverclasses&lt;/EM&gt;" with "&lt;EM&gt;/server_class&lt;/EM&gt;" in uri_path&lt;BR /&gt;
| where mvcount( split( uri_path , "/" ) ) &amp;gt; 6&lt;BR /&gt;
| eval activity = case( method=="POST" AND like( uri_path , "%/acl" ) , "Permissions Update", method=="POST" AND NOT like( uri_path , "%/acl" ) , "Edited" , method="DELETE" , "Deleted" )&lt;BR /&gt;
| rex field=uri_path "/servicesNS(/[^\/]+){3}/(?[^\/]+)/(?[^\/]+)"&lt;BR /&gt;
| eval object_name = urldecode( object_name )&lt;BR /&gt;
| table _time, user, object_name, object_type, activity|&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Query-for-Alert-identification/m-p/388996#M4149</guid>
      <dc:creator>adm_rashi</dc:creator>
      <dc:date>2020-09-29T23:56:06Z</dc:date>
    </item>
  </channel>
</rss>

