<?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 index time SED from props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/index-time-SED-from-props-conf/m-p/46246#M8715</link>
    <description>&lt;P&gt;Are the SED commands in props.conf excuted in order? In other words&lt;/P&gt;

&lt;P&gt;Note: (All the following is under [default])&lt;/P&gt;

&lt;P&gt;Can I write a test to set a field so it will fail a SED test&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-callid =s/(.*callid)(=)(.*)/\1~\3/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then run the main SED test &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-ssnmask = s/(.*[ :=;,])(?!000)(?!666)(?!9)\d{3}[ -](?!00)\d\d[ -](?!0000)(\d{4}[ =;,&amp;amp;].*)/\1###SSN-SCRUBBED###\2/g
SEDCMD-ssnmask1 = s/(.*[ :=;,])(?!000)(?!666)(?!9)\d{3}(?!00)\d\d(?!0000)(\d{4}[ ;,&amp;amp;=].*)/\1###SSN-SCRUBBED###\2/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then change it back &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-callid_fix =s/(.*callid)(~)(.*)/\1=\3/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or might the indexer not always run the SED commands in that order?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2012 19:04:09 GMT</pubDate>
    <dc:creator>jbower</dc:creator>
    <dc:date>2012-01-09T19:04:09Z</dc:date>
    <item>
      <title>index time SED from props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-time-SED-from-props-conf/m-p/46246#M8715</link>
      <description>&lt;P&gt;Are the SED commands in props.conf excuted in order? In other words&lt;/P&gt;

&lt;P&gt;Note: (All the following is under [default])&lt;/P&gt;

&lt;P&gt;Can I write a test to set a field so it will fail a SED test&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-callid =s/(.*callid)(=)(.*)/\1~\3/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then run the main SED test &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-ssnmask = s/(.*[ :=;,])(?!000)(?!666)(?!9)\d{3}[ -](?!00)\d\d[ -](?!0000)(\d{4}[ =;,&amp;amp;].*)/\1###SSN-SCRUBBED###\2/g
SEDCMD-ssnmask1 = s/(.*[ :=;,])(?!000)(?!666)(?!9)\d{3}(?!00)\d\d(?!0000)(\d{4}[ ;,&amp;amp;=].*)/\1###SSN-SCRUBBED###\2/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then change it back &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-callid_fix =s/(.*callid)(~)(.*)/\1=\3/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or might the indexer not always run the SED commands in that order?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2012 19:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-time-SED-from-props-conf/m-p/46246#M8715</guid>
      <dc:creator>jbower</dc:creator>
      <dc:date>2012-01-09T19:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: index time SED from props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-time-SED-from-props-conf/m-p/46247#M8716</link>
      <description>&lt;P&gt;I found how you do it (put all the SED commands on one line)&lt;BR /&gt;
so&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-Master = s/(.[ :=;,])(?!000)(?!666)(?!9)d{3} -dd -(d{4}[ =;,&amp;amp;].)/1###SSN-SCRUBBED###2/g s/(.[ :=;,])(?!000)(?!666)(?!9)d{3}(?!00)dd(?!0000)(d{4}[ ;,&amp;amp;=].)/1###SSN-SCRUBBED###2/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then thay will get excuted in order.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2012 20:16:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-time-SED-from-props-conf/m-p/46247#M8716</guid>
      <dc:creator>jbower</dc:creator>
      <dc:date>2012-01-10T20:16:41Z</dc:date>
    </item>
  </channel>
</rss>

