<?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: Monitor for delete attempts in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747237#M10933</link>
    <description>&lt;P&gt;I understand this better now.&lt;/P&gt;&lt;P&gt;Using the search you provided will search for anyone who did delete a record.&amp;nbsp; I can then go into Splunk and search the timeframe for who actually performed the delete.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=_audit action=delete_by_keyword info=granted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can setup an alert using this search for any failure attempts to delete a record.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=_audit action=search info=failed | regex search="\\|(\\s|\\n|\\r|([\\s\\S]*))*delete"&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 May 2025 20:18:48 GMT</pubDate>
    <dc:creator>BB2</dc:creator>
    <dc:date>2025-05-29T20:18:48Z</dc:date>
    <item>
      <title>Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747193#M10922</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Our company has gone through an audit and one of the auditors has asked us to monitor attempts to delete records in Splunk.&amp;nbsp; I did some research and found the search item below which would do the trick.&amp;nbsp; The issue is if I setup an alert with this, the alert is triggered because the previous search for this alert is saved and we get alerted for that search because the word delete is in that search.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=_audit action=search | regex search="\\|(\\s|\\n|\\r|([\\s\\S]*))*delete"&lt;/P&gt;&lt;P&gt;Is there a way to ignore this search string when doing a search?&amp;nbsp; Or has anybody been able to setup an alert for attempts to delete records?&lt;/P&gt;&lt;P&gt;We only have 4 admins with the can_delete role but the auditors want to be sure if an admin tries to delete records, there will be an alert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 12:30:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747193#M10922</guid>
      <dc:creator>BB2</dc:creator>
      <dc:date>2025-05-29T12:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747199#M10923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271895"&gt;@BB2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could use the the following to search for a failed attempt or success delete:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index=_internal "You do not have the capability to delete") OR (index=_audit action=delete_by_keyword info=granted)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 12:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747199#M10923</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-29T12:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747206#M10924</link>
      <description>&lt;P&gt;No, that didn't help.&amp;nbsp; I tested deleting data on our test server but your search did return any results.&amp;nbsp; I get the error below when trying to delete. I updated your search with what is in bold but it also did not return any results.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error in 'delete' command: &lt;STRONG&gt;You have insufficient privileges to delete events&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found a way to search for failed deletes by adding the info=failed.&amp;nbsp; That would take care of failed attempts to delete data but would not be helpful if an admin performed a delete in a search.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=_audit action=search info=failed | regex search="\\|(\\s|\\n|\\r|([\\s\\S]*))*delete"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 14:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747206#M10924</guid>
      <dc:creator>BB2</dc:creator>
      <dc:date>2025-05-29T14:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747209#M10925</link>
      <description>&lt;P&gt;Apologies&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271895"&gt;@BB2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about just&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_audit action=delete_by_keyword&lt;/LI-CODE&gt;&lt;P&gt;You will get granted if success or denied if they didnt have permission:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1748531505259.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39233iDEA04753598A1D3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1748531505259.png" alt="livehybrid_0-1748531505259.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know if you're aware but you can set&amp;nbsp;deleteIndexesAllowed for a role, for the can_delete role this is set to * which means any index but DOES NOT cover _* indexes. So the can_delete role wouldnt be able to delete _internal or _audit data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 15:12:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747209#M10925</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-29T15:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747214#M10926</link>
      <description>&lt;P&gt;That will only tell me when the role&amp;nbsp;delete_by_keyword has been assigned.&amp;nbsp; It will not tell me if someone deletes data from them main index.&amp;nbsp; I saw the role get assigned with that search as I added the can_delete role to the admin role.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 15:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747214#M10926</guid>
      <dc:creator>BB2</dc:creator>
      <dc:date>2025-05-29T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747217#M10927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271895"&gt;@BB2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That doesnt get logged when the capability is assigned, it is logged when the capability is attempted to be used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;info=denied means they werent successful running |delete&lt;/P&gt;&lt;P&gt;info=granted means they were successful.&lt;/P&gt;&lt;P&gt;Hopefully this clears it up.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 16:35:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747217#M10927</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-29T16:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747219#M10928</link>
      <description>&lt;P&gt;These are the logs I get when doing a delete before having the capability, then adding the capability, then being able to delete with the new capability.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1748537231117.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39234i64EFCB751E8090FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1748537231117.png" alt="livehybrid_0-1748537231117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 16:47:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747219#M10928</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-29T16:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747220#M10929</link>
      <description>&lt;P&gt;I am curious then why I do not get any results if I search for info=denied.&amp;nbsp; I had attempted to delete a record several times and got the insufficient privileges but nothing showed up in the audit.log.&lt;/P&gt;&lt;P&gt;index=_audit action=delete_by_keyword info=denied&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 16:47:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747220#M10929</guid>
      <dc:creator>BB2</dc:creator>
      <dc:date>2025-05-29T16:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747231#M10930</link>
      <description>&lt;P&gt;As usual with similar "monitoring" searches - this will&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; find searches when&amp;nbsp;&lt;EM&gt;delete&lt;/EM&gt; isn't invoked directly. The obvious way to do so would be with a macro.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 18:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747231#M10930</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-05-29T18:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747234#M10931</link>
      <description>&lt;P&gt;Could you tell me how to set that up?&amp;nbsp; Or, can you point me to a location on how to do it?&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 19:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747234#M10931</guid>
      <dc:creator>BB2</dc:creator>
      <dc:date>2025-05-29T19:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747236#M10932</link>
      <description>&lt;P&gt;What do you mean by "how to set that up"?&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 20:15:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747236#M10932</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-05-29T20:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor for delete attempts</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747237#M10933</link>
      <description>&lt;P&gt;I understand this better now.&lt;/P&gt;&lt;P&gt;Using the search you provided will search for anyone who did delete a record.&amp;nbsp; I can then go into Splunk and search the timeframe for who actually performed the delete.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=_audit action=delete_by_keyword info=granted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can setup an alert using this search for any failure attempts to delete a record.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=_audit action=search info=failed | regex search="\\|(\\s|\\n|\\r|([\\s\\S]*))*delete"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 20:18:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-for-delete-attempts/m-p/747237#M10933</guid>
      <dc:creator>BB2</dc:creator>
      <dc:date>2025-05-29T20:18:48Z</dc:date>
    </item>
  </channel>
</rss>

