<?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: splunk syntax search a subnet in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471224#M192240</link>
    <description>&lt;P&gt;thanks, @martynoconnor &lt;BR /&gt;
that's right.&lt;BR /&gt;
Search failed.&lt;/P&gt;</description>
    <pubDate>Sat, 21 Dec 2019 19:10:33 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2019-12-21T19:10:33Z</dc:date>
    <item>
      <title>splunk syntax search a subnet</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471219#M192235</link>
      <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I want search a subnet over all indexes and sourcetypes. The subnet is 5.5.0.0/16&lt;BR /&gt;
How would the query look so I can identify any IP within the 5.5.0.0/16 subnet?&lt;/P&gt;

&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 20:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471219#M192235</guid>
      <dc:creator>trojan_81</dc:creator>
      <dc:date>2019-12-19T20:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: splunk syntax search a subnet</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471220#M192236</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=your_index sourcetype=your_sourcetype src="5.5.0.0/16" OR dst="5.5.0.0/16"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;splunk can resolve prefix.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 14:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471220#M192236</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-12-20T14:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: splunk syntax search a subnet</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471221#M192237</link>
      <description>&lt;P&gt;Below query is written considering search for 5.5.0.0/16 subnet over any index and sourcetype and IP address is not extracted in particular field (src and dest).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=* "5.5.0.0/16"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If your events have extracted IP address in src and dest fields, you can go for the query what @to4kawa has mentioned in its post.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Tejas&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2019 08:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471221#M192237</guid>
      <dc:creator>tbavarva</dc:creator>
      <dc:date>2019-12-21T08:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: splunk syntax search a subnet</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471222#M192238</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;TERM("5.5.0.0/16")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2019 08:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471222#M192238</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-12-21T08:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: splunk syntax search a subnet</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471223#M192239</link>
      <description>&lt;P&gt;I'm not sure about using TERM for subnets. TERM instructs Splunk to not view the dot as a minor breaker, but instead to literally search for that IP, not for 5 5 0 0.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2019 11:34:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471223#M192239</guid>
      <dc:creator>martynoconnor</dc:creator>
      <dc:date>2019-12-21T11:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: splunk syntax search a subnet</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471224#M192240</link>
      <description>&lt;P&gt;thanks, @martynoconnor &lt;BR /&gt;
that's right.&lt;BR /&gt;
Search failed.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2019 19:10:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-syntax-search-a-subnet/m-p/471224#M192240</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-12-21T19:10:33Z</dc:date>
    </item>
  </channel>
</rss>

