<?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 optimization on IP adress in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/query-optimization-on-IP-adress/m-p/633877#M220154</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello community!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a way to optimize this search below and I need some help :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="oswinsec" source="XmlWinEventLog:Security" TargetUserName Kerberos earliest=-5min
| regex TargetUserName="^([a-z]+)\.([a-z]+)"
| regex IpAddress="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" | eval Octet1=mvindex(split(IpAddress,"."), 0) | eval Octet2=mvindex(split(IpAddress,"."), 1) | eval Octet3=mvindex(split(IpAddress,"."), 2) | where (Octet1=10 AND Octet2=244 AND Octet3&amp;gt;=192 AND Octet3&amp;lt;=255) OR (Octet1=172 AND Octet2=24)  
| dedup TargetUserName | table TargetUserName IpAddress&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanking you!!&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 13:17:51 GMT</pubDate>
    <dc:creator>Nico99</dc:creator>
    <dc:date>2023-03-09T13:17:51Z</dc:date>
    <item>
      <title>query optimization on IP adress</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-optimization-on-IP-adress/m-p/633877#M220154</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello community!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a way to optimize this search below and I need some help :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="oswinsec" source="XmlWinEventLog:Security" TargetUserName Kerberos earliest=-5min
| regex TargetUserName="^([a-z]+)\.([a-z]+)"
| regex IpAddress="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" | eval Octet1=mvindex(split(IpAddress,"."), 0) | eval Octet2=mvindex(split(IpAddress,"."), 1) | eval Octet3=mvindex(split(IpAddress,"."), 2) | where (Octet1=10 AND Octet2=244 AND Octet3&amp;gt;=192 AND Octet3&amp;lt;=255) OR (Octet1=172 AND Octet2=24)  
| dedup TargetUserName | table TargetUserName IpAddress&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanking you!!&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:17:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-optimization-on-IP-adress/m-p/633877#M220154</guid>
      <dc:creator>Nico99</dc:creator>
      <dc:date>2023-03-09T13:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: query optimization on IP adress</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-optimization-on-IP-adress/m-p/633882#M220156</link>
      <description>&lt;P&gt;What is it you wish to optimize?&lt;/P&gt;&lt;P&gt;Have you looked at the &lt;FONT face="courier new,courier"&gt;cidrmatch&lt;/FONT&gt; function?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:52:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-optimization-on-IP-adress/m-p/633882#M220156</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-03-09T13:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: query optimization on IP adress</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-optimization-on-IP-adress/m-p/633920#M220168</link>
      <description>&lt;P&gt;No i hadn't seen this function.&lt;BR /&gt;We tried and it's indeed simpler.&lt;/P&gt;&lt;P&gt;Thank you so much!!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-optimization-on-IP-adress/m-p/633920#M220168</guid>
      <dc:creator>Nico99</dc:creator>
      <dc:date>2023-03-09T16:42:53Z</dc:date>
    </item>
  </channel>
</rss>

