<?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: How to Detect Backup Monitoring in Splunk in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-Detect-Backup-Monitoring-in-Splunk/m-p/611702#M16339</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/248153"&gt;@Splunk_Master01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suppose that you already have the back-up system logs.&lt;/P&gt;&lt;P&gt;At first, you have to analyze the logs of your back-up system finding the messages for start, end and status both for back-up and restore.&lt;/P&gt;&lt;P&gt;Then you have to define the back-up and restore time scheduling, and then create a search, schedule for e.g. one hour after the completion of the job.&lt;/P&gt;&lt;P&gt;For back-up, you could schedule a search e.g. every day (if your back-up frequency is 1 day).&lt;/P&gt;&lt;P&gt;So you should schedule an alert like the following.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index message IN ("back-up started", "back-up ended")
| stats earliest(_time) AS earliest latest(_time) AS latest values(message) AS message values(status) AS status
| eval duration=latest-earliest
| eval 
   earliest=strftime(earliest,"%Y-%m-%d %H:%M:%S"),
   latest=strftime(latest,"%Y-%m-%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;Then if you want an alert only for status="failed", you can add a filter at the end of your search.&lt;/P&gt;&lt;P&gt;At the same time you could create a dashboard (with the above search) to display all the back-up times, durations, and statuses.&lt;/P&gt;&lt;P&gt;For restore, the process is the same, the only difference is that you surely have a dayly back-up, instead restore is probably scheduled with a minor frequency, so you have to schedule your alert with the correct frequency, to avoid false positive messages.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 06:40:23 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-09-02T06:40:23Z</dc:date>
    <item>
      <title>How to Detect Backup Monitoring in Splunk</title>
      <link>https://community.splunk.com/t5/Security/How-to-Detect-Backup-Monitoring-in-Splunk/m-p/611698#M16338</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there a way in which Splunk can generate an alert when&amp;nbsp;backup and restoration exercises are conducted.&lt;/P&gt;&lt;P&gt;Any use case that can do this?&lt;/P&gt;&lt;P&gt;Any assistance on this would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 05:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-Detect-Backup-Monitoring-in-Splunk/m-p/611698#M16338</guid>
      <dc:creator>Splunk_Master01</dc:creator>
      <dc:date>2022-09-02T05:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Detect Backup Monitoring in Splunk</title>
      <link>https://community.splunk.com/t5/Security/How-to-Detect-Backup-Monitoring-in-Splunk/m-p/611702#M16339</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/248153"&gt;@Splunk_Master01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suppose that you already have the back-up system logs.&lt;/P&gt;&lt;P&gt;At first, you have to analyze the logs of your back-up system finding the messages for start, end and status both for back-up and restore.&lt;/P&gt;&lt;P&gt;Then you have to define the back-up and restore time scheduling, and then create a search, schedule for e.g. one hour after the completion of the job.&lt;/P&gt;&lt;P&gt;For back-up, you could schedule a search e.g. every day (if your back-up frequency is 1 day).&lt;/P&gt;&lt;P&gt;So you should schedule an alert like the following.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index message IN ("back-up started", "back-up ended")
| stats earliest(_time) AS earliest latest(_time) AS latest values(message) AS message values(status) AS status
| eval duration=latest-earliest
| eval 
   earliest=strftime(earliest,"%Y-%m-%d %H:%M:%S"),
   latest=strftime(latest,"%Y-%m-%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;Then if you want an alert only for status="failed", you can add a filter at the end of your search.&lt;/P&gt;&lt;P&gt;At the same time you could create a dashboard (with the above search) to display all the back-up times, durations, and statuses.&lt;/P&gt;&lt;P&gt;For restore, the process is the same, the only difference is that you surely have a dayly back-up, instead restore is probably scheduled with a minor frequency, so you have to schedule your alert with the correct frequency, to avoid false positive messages.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 06:40:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-Detect-Backup-Monitoring-in-Splunk/m-p/611702#M16339</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-02T06:40:23Z</dc:date>
    </item>
  </channel>
</rss>

