<?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 Mitigationn Vs Detection use case with Peakflow Arbor logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Mitigationn-Vs-Detection-use-case-with-Peakflow-Arbor-logs/m-p/264958#M96430</link>
    <description>&lt;P&gt;I have some Peakflow - Arbor logs, two types of logs are of interest: &lt;STRONG&gt;"Host Detection alert"&lt;/STRONG&gt; and &lt;STRONG&gt;"TMS mitigation"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; carries &lt;EM&gt;attacked Ip&lt;/EM&gt; information and the &lt;EM&gt;alertid&lt;/EM&gt; and the &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; logs has the &lt;EM&gt;alertid&lt;/EM&gt; on its name, automatically generated from a Host Detection alert.&lt;/P&gt;

&lt;P&gt;We need to create an use case where, having filtered the &lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; logs by &lt;EM&gt;attacked ip&lt;/EM&gt; (we use a lookup to add a &lt;EM&gt;bussiness&lt;/EM&gt; field depending on the attacked ip), get the according &lt;EM&gt;alertid&lt;/EM&gt; in the &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; logs.&lt;/P&gt;

&lt;P&gt;For example, this would be the logs for a detection with mitigation:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;alertid=500841&lt;/LI&gt;
&lt;LI&gt;attackedip=1.1.1.1 &lt;/LI&gt;
&lt;LI&gt;the two types of logs "Host Detection" and "TMS mitigation"&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Jun 9 05:54:22 arbor-cp pfsp: &lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; #&lt;STRONG&gt;500841&lt;/STRONG&gt;, start 2016-06-09 10:54:12 GMT, duration 9, direction incoming, host &lt;STRONG&gt;1.1.1.1&lt;/STRONG&gt;, signatures (Total Traffic), impact 236.23 Mbps/49.67 Kpps, importance 2, managed_objects ("C-xxxx"), (parent managed object "nil")&lt;BR /&gt;
Jun 9 06:02:46 arbor-cp pfsp: &lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; #&lt;STRONG&gt;500841&lt;/STRONG&gt;, start 2016-06-09 10:54:12 GMT, duration 508, stop 2016-06-09 11:02:40 GMT, , importance 2, managed_objects ("C-xxxx"), is now done, (parent managed object "nil")&lt;BR /&gt;
Jun  9 05:54:30 arbor-cp pfsp: &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; 'Alert &lt;STRONG&gt;500841&lt;/STRONG&gt; Auto-Mitigation' started at 2016-06-09 10:54:29, leader arbor-cp&lt;BR /&gt;
Jun 9 06:02:47 arbor-cp pfsp: &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; 'Alert &lt;STRONG&gt;500841&lt;/STRONG&gt; Auto-Mitigation' stopped at 2016-06-09 11:02:47, leader arbor-cp&lt;/P&gt;

&lt;P&gt;My search looked something like this &lt;CODE&gt;source=*arbor* "TMS mitigation" alertid=* | join alertid [search "Host Detection" alertid=* | lookup subredes ip as dest_ip | search empresa=corporativo* | table alertid] | table alertid&lt;/CODE&gt; but I don't seem to be getting the results I expect.&lt;/P&gt;

&lt;P&gt;the &lt;EM&gt;alertid&lt;/EM&gt; field is an alias for the fields &lt;EM&gt;detection_alertid&lt;/EM&gt; ( alertid from events with Host Detection alert) and *mitigation_alertid (alertid from events with TMS mitigation)&lt;/P&gt;

&lt;P&gt;Any help is well appreciated, thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:52:21 GMT</pubDate>
    <dc:creator>josefa</dc:creator>
    <dc:date>2020-09-29T10:52:21Z</dc:date>
    <item>
      <title>Mitigationn Vs Detection use case with Peakflow Arbor logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mitigationn-Vs-Detection-use-case-with-Peakflow-Arbor-logs/m-p/264958#M96430</link>
      <description>&lt;P&gt;I have some Peakflow - Arbor logs, two types of logs are of interest: &lt;STRONG&gt;"Host Detection alert"&lt;/STRONG&gt; and &lt;STRONG&gt;"TMS mitigation"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; carries &lt;EM&gt;attacked Ip&lt;/EM&gt; information and the &lt;EM&gt;alertid&lt;/EM&gt; and the &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; logs has the &lt;EM&gt;alertid&lt;/EM&gt; on its name, automatically generated from a Host Detection alert.&lt;/P&gt;

&lt;P&gt;We need to create an use case where, having filtered the &lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; logs by &lt;EM&gt;attacked ip&lt;/EM&gt; (we use a lookup to add a &lt;EM&gt;bussiness&lt;/EM&gt; field depending on the attacked ip), get the according &lt;EM&gt;alertid&lt;/EM&gt; in the &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; logs.&lt;/P&gt;

&lt;P&gt;For example, this would be the logs for a detection with mitigation:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;alertid=500841&lt;/LI&gt;
&lt;LI&gt;attackedip=1.1.1.1 &lt;/LI&gt;
&lt;LI&gt;the two types of logs "Host Detection" and "TMS mitigation"&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Jun 9 05:54:22 arbor-cp pfsp: &lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; #&lt;STRONG&gt;500841&lt;/STRONG&gt;, start 2016-06-09 10:54:12 GMT, duration 9, direction incoming, host &lt;STRONG&gt;1.1.1.1&lt;/STRONG&gt;, signatures (Total Traffic), impact 236.23 Mbps/49.67 Kpps, importance 2, managed_objects ("C-xxxx"), (parent managed object "nil")&lt;BR /&gt;
Jun 9 06:02:46 arbor-cp pfsp: &lt;STRONG&gt;Host Detection alert&lt;/STRONG&gt; #&lt;STRONG&gt;500841&lt;/STRONG&gt;, start 2016-06-09 10:54:12 GMT, duration 508, stop 2016-06-09 11:02:40 GMT, , importance 2, managed_objects ("C-xxxx"), is now done, (parent managed object "nil")&lt;BR /&gt;
Jun  9 05:54:30 arbor-cp pfsp: &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; 'Alert &lt;STRONG&gt;500841&lt;/STRONG&gt; Auto-Mitigation' started at 2016-06-09 10:54:29, leader arbor-cp&lt;BR /&gt;
Jun 9 06:02:47 arbor-cp pfsp: &lt;STRONG&gt;TMS mitigation&lt;/STRONG&gt; 'Alert &lt;STRONG&gt;500841&lt;/STRONG&gt; Auto-Mitigation' stopped at 2016-06-09 11:02:47, leader arbor-cp&lt;/P&gt;

&lt;P&gt;My search looked something like this &lt;CODE&gt;source=*arbor* "TMS mitigation" alertid=* | join alertid [search "Host Detection" alertid=* | lookup subredes ip as dest_ip | search empresa=corporativo* | table alertid] | table alertid&lt;/CODE&gt; but I don't seem to be getting the results I expect.&lt;/P&gt;

&lt;P&gt;the &lt;EM&gt;alertid&lt;/EM&gt; field is an alias for the fields &lt;EM&gt;detection_alertid&lt;/EM&gt; ( alertid from events with Host Detection alert) and *mitigation_alertid (alertid from events with TMS mitigation)&lt;/P&gt;

&lt;P&gt;Any help is well appreciated, thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:52:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mitigationn-Vs-Detection-use-case-with-Peakflow-Arbor-logs/m-p/264958#M96430</guid>
      <dc:creator>josefa</dc:creator>
      <dc:date>2020-09-29T10:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mitigationn Vs Detection use case with Peakflow Arbor logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mitigationn-Vs-Detection-use-case-with-Peakflow-Arbor-logs/m-p/264959#M96431</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=*arbor* "TMS mitigation" OR "Host Detection" alertid=* | rex (?&amp;lt;log_type&amp;gt;Host Detection|TMS mitigation)" | lookup subredes ip as dest_ip | stats values(log_type) as log_types values(businesses) as businesses by alertid | where mvcount(log_types)=2 | table alertid
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Sep 2016 22:01:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mitigationn-Vs-Detection-use-case-with-Peakflow-Arbor-logs/m-p/264959#M96431</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-02T22:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mitigationn Vs Detection use case with Peakflow Arbor logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mitigationn-Vs-Detection-use-case-with-Peakflow-Arbor-logs/m-p/264960#M96432</link>
      <description>&lt;P&gt;Hello, thank you for your help, but this doesn't seem to be working either. &lt;/P&gt;

&lt;P&gt;Another fact I haven't explain, and that might be helpful, I'm using &lt;EM&gt;alertid&lt;/EM&gt; as an alias for the fields &lt;EM&gt;detection_alertid&lt;/EM&gt; (for the alertid in the &lt;STRONG&gt;Host Detection&lt;/STRONG&gt; events) and &lt;EM&gt;mitigation_alertid&lt;/EM&gt; (for the alertid in &lt;STRONG&gt;TMS Mitigation&lt;/STRONG&gt; events), which I realized now that it may not be working the way I was expecting &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;When I run the search at some point of time to get the alertids I get results like this:&lt;BR /&gt;
detection_alertid: 5&lt;BR /&gt;
mitigation_alertid: 4&lt;BR /&gt;
alertid=4&lt;/P&gt;

&lt;P&gt;If I manually check for each of these alertids, I can see how all but one alert id is in both event types (which makes sense because detection_alertid = 5 and mitigation_alertid=4; all mitigation events should have a host detection event, but not the other way around) &lt;/P&gt;

&lt;P&gt;alertid are the same as mitigation_alertid (althought this doesn't seem to be consistent behaviour, so maybe the alias is not being correctly made)&lt;/P&gt;

&lt;P&gt;If I run the search you provided, I only get one alertid (for what I intend to do, I should be getting the 4 mitigation_alertid)&lt;/P&gt;

&lt;P&gt;On the other hand, the reason we need this search is because we need to report about detection Vs mitigation events for the different &lt;EM&gt;bussiness&lt;/EM&gt; field, but the only way I can get the bussiness info is with the detection events, where I have an dest_ip field which I can add the bussiness field with the lookup.&lt;/P&gt;

&lt;P&gt;Hope I made myself bit clearer and you can help me.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mitigationn-Vs-Detection-use-case-with-Peakflow-Arbor-logs/m-p/264960#M96432</guid>
      <dc:creator>josefa</dc:creator>
      <dc:date>2020-09-29T11:00:37Z</dc:date>
    </item>
  </channel>
</rss>

