<?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 Forward Truncated Events in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Forward-Truncated-Events/m-p/95373#M22736</link>
    <description>&lt;P&gt;I'm looking to forward only the first portion of a log file event to the indexer to be indexed.  The remaining data I cannot send due to possible PCI reasons.  I have installed the full splunk instance to use the heavy forwarder and have tried updating props.conf with an EXTRACT statement to pull out what I want forwarded.  Portion below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[myindex]
EXTRACT-myindexEXT = (?&amp;lt;A&amp;gt;\d+\:\d+\.\d+\:\d+\.\d+) (?&amp;lt;B&amp;gt;\d+) (?&amp;lt;C&amp;gt;\w+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But the full logged message is getting sent to the indexer.  Is there a way to do this?&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2013 22:07:53 GMT</pubDate>
    <dc:creator>flucman</dc:creator>
    <dc:date>2013-04-15T22:07:53Z</dc:date>
    <item>
      <title>Forward Truncated Events</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Forward-Truncated-Events/m-p/95373#M22736</link>
      <description>&lt;P&gt;I'm looking to forward only the first portion of a log file event to the indexer to be indexed.  The remaining data I cannot send due to possible PCI reasons.  I have installed the full splunk instance to use the heavy forwarder and have tried updating props.conf with an EXTRACT statement to pull out what I want forwarded.  Portion below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[myindex]
EXTRACT-myindexEXT = (?&amp;lt;A&amp;gt;\d+\:\d+\.\d+\:\d+\.\d+) (?&amp;lt;B&amp;gt;\d+) (?&amp;lt;C&amp;gt;\w+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But the full logged message is getting sent to the indexer.  Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 22:07:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Forward-Truncated-Events/m-p/95373#M22736</guid>
      <dc:creator>flucman</dc:creator>
      <dc:date>2013-04-15T22:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Forward Truncated Events</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Forward-Truncated-Events/m-p/95374#M22737</link>
      <description>&lt;P&gt;You have misunderstood what the EXTRACT will do. That is for creating fields at search time. It has nothing to do with masking data, or limit the amount of each message being indexed.&lt;/P&gt;

&lt;P&gt;According to &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;this document&lt;/A&gt; ,if you have a heavy forwarder, you can use the SEDCMD function to mask out data, since the parsing phase takes place on a heavy forwarder.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;from the docs on props.conf&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-&amp;lt;name&amp;gt; = &amp;lt;sed script&amp;gt;
* Only used at index time.
* Commonly used to anonymize incoming data at index time, such as credit card or social
  security numbers. For more information, search the online documentation for "anonymize
  data."
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;TRUNCATE =&lt;/CODE&gt; &lt;EM&gt;n&lt;/EM&gt; (also in props.conf) may be an option.&lt;/P&gt;

&lt;P&gt;For more info on anonymization, please see;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 22:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Forward-Truncated-Events/m-p/95374#M22737</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-15T22:37:29Z</dc:date>
    </item>
  </channel>
</rss>

