<?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: How to Filter part of data in an event during index time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274368#M52625</link>
    <description>&lt;P&gt;What type of forwarder you've, Universal forwarder OR full Enterprise Instance acting as forwarder? Also, Since you posted dummy data in question, the regex is suggested accordingly. Do remember to validate the regex first (if regex is wrong, the  SEDCMD will not work anyways).&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2016 15:16:03 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-05-31T15:16:03Z</dc:date>
    <item>
      <title>How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274363#M52620</link>
      <description>&lt;P&gt;Hi, I have a type of following event data which is coming from forwarder:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Column1=XYZ+Column2=ABC+ColumnC=GGG....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to remove &lt;CODE&gt;Column2=ABC&lt;/CODE&gt; value from the event before indexing. Can help how to filter this data. The event should be indexed like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Column1=XYZ+ColumnC=GGG....
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 May 2016 11:02:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274363#M52620</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2016-05-27T11:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274364#M52621</link>
      <description>&lt;P&gt;Try this:&lt;BR /&gt;
props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursource_type]
SEDCMD-removecolumn=s/Column2=[^\+]*\+//g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 May 2016 11:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274364#M52621</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2016-05-27T11:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274365#M52622</link>
      <description>&lt;P&gt;Hi, thanks for the reply.&lt;BR /&gt;
I have windows server environment. I tried this but it didn't work.&lt;BR /&gt;
will SEDCMD only work on Linux server?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 10:55:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274365#M52622</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2016-05-31T10:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274366#M52623</link>
      <description>&lt;P&gt;This should work regardless of OS. Did you put the config in your heavy forwarder/indexers and restarted it? Also,    it would be good if you can test the regex against your actual data from &lt;A href="http://www.regex101.com"&gt;www.regex101.com&lt;/A&gt; or similar sites before actually using it.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 13:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274366#M52623</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-31T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274367#M52624</link>
      <description>&lt;P&gt;I added these configs on my indexer and restarted. should I move the configs to forwarder?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 14:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274367#M52624</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2016-05-31T14:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274368#M52625</link>
      <description>&lt;P&gt;What type of forwarder you've, Universal forwarder OR full Enterprise Instance acting as forwarder? Also, Since you posted dummy data in question, the regex is suggested accordingly. Do remember to validate the regex first (if regex is wrong, the  SEDCMD will not work anyways).&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 15:16:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274368#M52625</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-31T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274369#M52626</link>
      <description>&lt;P&gt;I am using full enterprise instance as a forwarder. Also I verified regex with &lt;A href="http://www.regexr.com/"&gt;http://www.regexr.com/&lt;/A&gt;. It looks good. The SEDCMD is in props.conf file on indexer.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 10:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274369#M52626</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2016-06-01T10:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274370#M52627</link>
      <description>&lt;P&gt;Since you are using a heavy forwarder, put the props the forwarder&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 02:23:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274370#M52627</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2016-06-03T02:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter part of data in an event during index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274371#M52628</link>
      <description>&lt;P&gt;It worked after moving on heavy forwarder. &lt;BR /&gt;
Thanks heaps for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 12:05:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Filter-part-of-data-in-an-event-during-index-time/m-p/274371#M52628</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2016-06-03T12:05:31Z</dc:date>
    </item>
  </channel>
</rss>

