<?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 Drop 9 of 10 Events (Sampling) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Drop-9-of-10-Events-Sampling/m-p/634033#M108529</link>
    <description>&lt;P&gt;Hi @ All Splunkynators&lt;/P&gt;&lt;P&gt;how to sample incoming (HEC) data?&lt;BR /&gt;I want get statistical data /events to save license volume, drop eg 9 of 10 of incoming events...&lt;BR /&gt;&lt;BR /&gt;I look forward to your suggestions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Gegards - Markus&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2023 09:34:20 GMT</pubDate>
    <dc:creator>CMEOGNAD</dc:creator>
    <dc:date>2023-03-10T09:34:20Z</dc:date>
    <item>
      <title>Drop 9 of 10 Events (Sampling)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Drop-9-of-10-Events-Sampling/m-p/634033#M108529</link>
      <description>&lt;P&gt;Hi @ All Splunkynators&lt;/P&gt;&lt;P&gt;how to sample incoming (HEC) data?&lt;BR /&gt;I want get statistical data /events to save license volume, drop eg 9 of 10 of incoming events...&lt;BR /&gt;&lt;BR /&gt;I look forward to your suggestions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Gegards - Markus&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 09:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Drop-9-of-10-Events-Sampling/m-p/634033#M108529</guid>
      <dc:creator>CMEOGNAD</dc:creator>
      <dc:date>2023-03-10T09:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Drop 9 of 10 Events (Sampling)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Drop-9-of-10-Events-Sampling/m-p/634051#M108531</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243177"&gt;@CMEOGNAD&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;See &lt;A href="https://docs.cribl.io/stream/usecase-encrypting-data/" target="_self"&gt;my response&lt;/A&gt; to a similiar question.&amp;nbsp; You could drop events with seconds *1 to *9, keep *0&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;It will not be exactly 9 of 10. But with something like that you could randomly reduce the volume.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;FONT size="3"&gt;Not sure if it makes sense with your data.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(or Cribl)&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 13:16:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Drop-9-of-10-Events-Sampling/m-p/634051#M108531</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2023-03-10T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Drop 9 of 10 Events (Sampling)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Drop-9-of-10-Events-Sampling/m-p/634053#M108532</link>
      <description>&lt;P&gt;You can't do that directly in the splunk input phase. You can't keep "state" on event processing so you can't count events and keep track of which event you're processing at the moment. So there's no way to enforce the strictly "every 10th" rule. You can do somethig like time based as &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64317"&gt;@rnowitzki&lt;/a&gt; suggested or try to implement some INGEST_EVAL logic to base your decision on random value (and check if it falls within some range) or - for example - message hash. But this will of course give you some percentage on average, not a strict 1 out of every N policy.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 13:32:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Drop-9-of-10-Events-Sampling/m-p/634053#M108532</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-03-10T13:32:27Z</dc:date>
    </item>
  </channel>
</rss>

