<?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: Dropping a subnet at index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624686#M107378</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352" target="_blank" rel="noopener"&gt;@gcusell&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the support&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question 1 can you please help me with the regex of subnet ex 10.10.1.0/12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question 2 is there any where from where we can get to know that data in host 1 is similar to data in host 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debjit&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 01:37:20 GMT</pubDate>
    <dc:creator>debjit_k</dc:creator>
    <dc:date>2022-12-19T01:37:20Z</dc:date>
    <item>
      <title>How to drop a subnet at index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624646#M107374</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352" target="_blank" rel="noopener"&gt;@gcusell, &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I have 2 double&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. How can I drop a source IP 10.0.0.0/24 subnet at indexer, I am aware of dropping a host at the indexer level but not this.&lt;/P&gt;
&lt;P&gt;2. I'm getting duplicate data I.e. Duplicate data is being indexed. My query is how can know from which host the data is duplicate so that I can offboard those devices..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly guide me for the above 2 solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Debjit&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624646#M107374</guid>
      <dc:creator>debjit_k</dc:creator>
      <dc:date>2022-12-19T15:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping a subnet at index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624647#M107375</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243225"&gt;@debjit_k&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;next time, please make two different questions, so you'll have more choices to have an answer to both of them.&lt;/P&gt;&lt;P&gt;Anyway, about the first question:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;could you better describe your requirement?&lt;/LI&gt;&lt;LI&gt;what do you mean with dropping a source IP at Indexer?&lt;/LI&gt;&lt;LI&gt;do you mean filter events?&lt;/LI&gt;&lt;LI&gt;are you speaking at search time or at index time?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;About the second question:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;do you want to identify hosts that send duplicated data or what else?&lt;/LI&gt;&lt;LI&gt;have you identified the index or the sourcetype with duplicated data?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If yes, you can reduce the scope of your search adding the condition to the main search, otherwise you can run a search like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=*
| stats dc(_raw) raw_count BY host
| where raw_count&amp;gt;1&lt;/LI-CODE&gt;&lt;P&gt;in this way, you have the list of hosts with duplicated events.&lt;/P&gt;&lt;P&gt;Obviously this search gives results if the events are completely duplicated, if there's something different (also only timestamp) it doesn't give results.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2022 09:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624647#M107375</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-12-18T09:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping a subnet at index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624656#M107376</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352" target="_blank" rel="noopener"&gt;@gcusell&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Your point has been noted.&lt;/P&gt;&lt;P&gt;1. For question number 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes im talking about filtering event at index time.&lt;/P&gt;&lt;P&gt;My idea is to define&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source type in transform.com&lt;/P&gt;&lt;P&gt;And in props.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need to write the regex for the subnet and queue should be null. Kindly correct me if im wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I want to identify the host having duplicate data and yes I have identity the index.&lt;/P&gt;&lt;P&gt;For question 2 I'm guessing you give the required query which will help to identify the host from where we are getting duplicate data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debjit&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2022 13:55:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624656#M107376</guid>
      <dc:creator>debjit_k</dc:creator>
      <dc:date>2022-12-18T13:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping a subnet at index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624667#M107377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243225"&gt;@debjit_k&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;about question 1:&lt;/P&gt;&lt;P&gt;you have to assign a fixed sourcetype to your input, then on Indexers or (if present) on Heavy Forwarders, you have to override this sourcetype following the instructios at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/Data/Advancedsourcetypeoverrides#:~:text=You%20can%20override%20source%20types,directly%20on%20the%20instance%20itself" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/Data/Advancedsourcetypeoverrides#:~:text=You%20can%20override%20source%20types,directly%20on%20the%20instance%20itself&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;About question 2, you can put the index in the main search so you can find the host with duplicated data using my search.&lt;/P&gt;&lt;P&gt;Ciao,&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2022 16:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624667#M107377</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-12-18T16:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping a subnet at index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624686#M107378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352" target="_blank" rel="noopener"&gt;@gcusell&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the support&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question 1 can you please help me with the regex of subnet ex 10.10.1.0/12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question 2 is there any where from where we can get to know that data in host 1 is similar to data in host 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debjit&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 01:37:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624686#M107378</guid>
      <dc:creator>debjit_k</dc:creator>
      <dc:date>2022-12-19T01:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping a subnet at index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624697#M107383</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243225"&gt;@debjit_k&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;about question 1, please share a sample of your data.&lt;/P&gt;&lt;P&gt;About question 2, you don't have a fully duplicated data! in this case you have to identify the part of the event that's duplicated, extract it and use this part for the above check.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 07:36:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-a-subnet-at-index/m-p/624697#M107383</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-12-19T07:36:25Z</dc:date>
    </item>
  </channel>
</rss>

