<?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: can we do the event sampling before indexing the data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605487#M105266</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;@&lt;SPAN&gt;richgalloway : can we do the sampling in forwarder in splunk versions 7.2&amp;nbsp; or old version&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 17:18:40 GMT</pubDate>
    <dc:creator>kml_uvce</dc:creator>
    <dc:date>2022-07-13T17:18:40Z</dc:date>
    <item>
      <title>Can we do the event sampling before indexing the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605481#M105262</link>
      <description>&lt;P&gt;Can we do the event sampling in forwarder before indexing the event in indexer to reduce the event size ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605481#M105262</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2022-07-13T17:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: can we do the event sampling before indexing the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605486#M105265</link>
      <description>&lt;P&gt;Yes, you can.&amp;nbsp; Splunk 9.0 introduces the Ingest Actions feature that allows indexers and heavy forwarders to filter data.&amp;nbsp; See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/ReleaseNotes/MeetSplunk#What.27s_New_in_9.0" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/ReleaseNotes/MeetSplunk#What.27s_New_in_9.0&lt;/A&gt;&amp;nbsp;for more.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:15:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605486#M105265</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-13T17:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: can we do the event sampling before indexing the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605487#M105266</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;@&lt;SPAN&gt;richgalloway : can we do the sampling in forwarder in splunk versions 7.2&amp;nbsp; or old version&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:18:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605487#M105266</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2022-07-13T17:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: can we do the event sampling before indexing the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605490#M105267</link>
      <description>&lt;P&gt;Heavy forwarders and indexers older than 9.0 can do event filtering using props and transforms.&amp;nbsp; In the transform, a regular expression is matched against incoming events.&amp;nbsp; Events that match the regex are sent to the null queue (discarded).&lt;/P&gt;&lt;P&gt;No Universal Forwarder can filter events.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:27:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605490#M105267</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-13T17:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: can we do the event sampling before indexing the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605492#M105268</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for sampling like 10:1 or 100:1 ratio in events to filter out events , not looking for simple filter that we can do in heavy forwarder&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:29:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605492#M105268</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2022-07-13T17:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: can we do the event sampling before indexing the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605493#M105269</link>
      <description>&lt;P&gt;Since every event is parsed and indexed separately, you can't "count" the events to choose only each 10th or 100th event. But you can try to calculate some value based on a message that will match given value roughly 1/n times in the long run. You could, for example, calculate hash from an event and check its last one or two digits.&lt;/P&gt;&lt;P&gt;But this will not give you perfect sampling ratio. And with badly chosen function your results may be skewed.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-do-the-event-sampling-before-indexing-the-data/m-p/605493#M105269</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-13T17:41:44Z</dc:date>
    </item>
  </channel>
</rss>

