<?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: Truncate only certain events from a source in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626724#M107637</link>
    <description>&lt;P&gt;thanks for the advice!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 08:20:41 GMT</pubDate>
    <dc:creator>maxwee</dc:creator>
    <dc:date>2023-01-11T08:20:41Z</dc:date>
    <item>
      <title>Truncate only certain events from a source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626498#M107620</link>
      <description>&lt;P&gt;Good day experts, to manage the ingestion volume, I need apply truncation to a source that sends pretty high volume of data. However, we do not wish to truncate all events from this source, only certain events which are less critical. I tried to override sourcetype in transforms.conf with a regex that matches less critical events and applying truncate in props.conf to the custom sourcetype but failed. Only then I recalled that the transforms and props apply at indexing time. The transforms worked as expected to change the sourcetype but it did not truncate.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone faced similar use case or can share a way to manage this? Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 16:11:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626498#M107620</guid>
      <dc:creator>maxwee</dc:creator>
      <dc:date>2023-01-11T16:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Truncate only certain events from a source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626521#M107622</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224645"&gt;@maxwee&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have to find a regex to identify less important events to truncate and then use SEDCMD command in props.conf for that sourcetype.&lt;/P&gt;&lt;P&gt;For more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:44:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626521#M107622</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-10T07:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Truncate only certain events from a source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626575#M107627</link>
      <description>&lt;P&gt;It's not about whether the transforms are applied on index time.&lt;/P&gt;&lt;P&gt;It's about the fact that even though you might overwrite sourcetype, the event's index-time processing will still follow the original sourcetype path, not the new one (unless you use CLONE_SOURCETYPE and discard the original event).&lt;/P&gt;&lt;P&gt;But it's probably easier to use SEDCMD or INGEST_EVAL to selectively "cut" some events.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 12:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626575#M107627</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-01-10T12:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Truncate only certain events from a source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626724#M107637</link>
      <description>&lt;P&gt;thanks for the advice!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 08:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Truncate-only-certain-events-from-a-source/m-p/626724#M107637</guid>
      <dc:creator>maxwee</dc:creator>
      <dc:date>2023-01-11T08:20:41Z</dc:date>
    </item>
  </channel>
</rss>

