<?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: Identifying Users that connect from different ip simultaneously on same device in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464497#M12603</link>
    <description>&lt;P&gt;Device is mandatory because yu could have that a user accesses to different devices.&lt;BR /&gt;
So check the exact field name and put it in BY clause.&lt;BR /&gt;
Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2019 13:53:04 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-12-11T13:53:04Z</dc:date>
    <item>
      <title>Identifying Users that connect from different ip simultaneously on same device</title>
      <link>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464494#M12600</link>
      <description>&lt;P&gt;Hello, i want to make an alert that trigger when on a specific device, a user connect simultaneously from different IP.&lt;BR /&gt;
My search is as follow : &lt;/P&gt;

&lt;P&gt;source="My Source"  | stats  dc(src_ip) as count,values(src_ip) as src_ip by user | where  count &amp;gt; 1&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:21:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464494#M12600</guid>
      <dc:creator>cnoulin</dc:creator>
      <dc:date>2020-09-30T03:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Users that connect from different ip simultaneously on same device</title>
      <link>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464495#M12601</link>
      <description>&lt;P&gt;Hi @cnoulin,&lt;BR /&gt;
in the BY cluase you have to add also the device identificator (name, id or IP).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="My Source" 
| stats dc(src_ip) as count values(src_ip) as src_ip BY user device_id
| where count &amp;gt; 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;P.S.: use always the index clause in the main search, you'll have more performant searches.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 12:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464495#M12601</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-11T12:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Users that connect from different ip simultaneously on same device</title>
      <link>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464496#M12602</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; , thanks for your answer.&lt;BR /&gt;
Actually my source is my device.&lt;/P&gt;

&lt;P&gt;when i add the device ip as device_id, there is no result.&lt;BR /&gt;
Actually the request work but send me result when the same user as different ip in different moment of the day (that is "normal"), but i want only same user_id with different IP simultaneously.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464496#M12602</guid>
      <dc:creator>cnoulin</dc:creator>
      <dc:date>2020-09-30T03:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Users that connect from different ip simultaneously on same device</title>
      <link>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464497#M12603</link>
      <description>&lt;P&gt;Device is mandatory because yu could have that a user accesses to different devices.&lt;BR /&gt;
So check the exact field name and put it in BY clause.&lt;BR /&gt;
Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 13:53:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464497#M12603</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-11T13:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Users that connect from different ip simultaneously on same device</title>
      <link>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464498#M12604</link>
      <description>&lt;P&gt;@gcusello  not really in my case, because the source is a firewall and i want to identify external users that use same login from different ip and access the site via the firewall&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 15:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464498#M12604</guid>
      <dc:creator>cnoulin</dc:creator>
      <dc:date>2019-12-11T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Users that connect from different ip simultaneously on same device</title>
      <link>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464499#M12605</link>
      <description>&lt;P&gt;Ok easier the aspect of the device!&lt;BR /&gt;
you could use something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; source="My Source" 
 | stats dc(src_ip) as count values(src_ip) as src_ip earliest(_time) AS earliest latest(_time) AS latest BY user device_id
 | where count &amp;gt; 1 AND latest-earliest&amp;lt;300
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where you can configure the maximum accepted delay between events (in my example 300 seconds).&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 15:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Identifying-Users-that-connect-from-different-ip-simultaneously/m-p/464499#M12605</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-11T15:40:02Z</dc:date>
    </item>
  </channel>
</rss>

