<?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: Performance difference between using SEDCMD and older REGEX/TRANSFORMS method in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97138#M1168</link>
    <description>&lt;P&gt;@Lowell yes that's what the student wanted to know. For one off replacements, like overwriting a credit card number/account code.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2010 08:54:22 GMT</pubDate>
    <dc:creator>DrewO</dc:creator>
    <dc:date>2010-12-02T08:54:22Z</dc:date>
    <item>
      <title>Performance difference between using SEDCMD and older REGEX/TRANSFORMS method</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97136#M1166</link>
      <description>&lt;P&gt;Is there a performance difference between using the SEDCMD syntax in just props.conf versus using the older method which uses TRANSFORMS and calls a stanza in transforms.conf using REGEX?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2010 14:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97136#M1166</guid>
      <dc:creator>DrewO</dc:creator>
      <dc:date>2010-12-01T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Performance difference between using SEDCMD and older REGEX/TRANSFORMS method</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97137#M1167</link>
      <description>&lt;P&gt;Just to be clear, the &lt;CODE&gt;SEDCMD&lt;/CODE&gt; and &lt;CODE&gt;TRANSFORMS&lt;/CODE&gt; index-time transformations are not exact drop-in replacements for each other.  For example, SEDCMD character substitution (like &lt;CODE&gt;y/ABC/abc/&lt;/CODE&gt;), and repeating replacements (like &lt;CODE&gt;s/eggs/spam/g&lt;/CODE&gt;) are things that can only be done using &lt;CODE&gt;SEDCMD&lt;/CODE&gt;, but &lt;CODE&gt;SEDCMD&lt;/CODE&gt; is limited to only modifying the &lt;CODE&gt;_raw&lt;/CODE&gt; field.  So in your question, I'm assuming that your are specifically asking about where these two approaches overlap (a single replace operation on the &lt;CODE&gt;_raw&lt;/CODE&gt; field.)  If this is incorrect, please update your question.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2010 22:26:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97137#M1167</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-12-01T22:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Performance difference between using SEDCMD and older REGEX/TRANSFORMS method</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97138#M1168</link>
      <description>&lt;P&gt;@Lowell yes that's what the student wanted to know. For one off replacements, like overwriting a credit card number/account code.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2010 08:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97138#M1168</guid>
      <dc:creator>DrewO</dc:creator>
      <dc:date>2010-12-02T08:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Performance difference between using SEDCMD and older REGEX/TRANSFORMS method</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97139#M1169</link>
      <description>&lt;P&gt;For the particular case of &lt;CODE&gt;s/one/two/&lt;/CODE&gt; vs &lt;CODE&gt;^(.*?)one(.*)$&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;$1two$2&lt;/CODE&gt;, the former is possibly very slightly faster, but differences in the efficiencies of the regex used (e.g., using &lt;CODE&gt;(.*?)&lt;/CODE&gt; vs &lt;CODE&gt;(.*)&lt;/CODE&gt;) would probably enormously outweigh that. Note that it's actually not possible to use &lt;CODE&gt;s/one/two/g&lt;/CODE&gt; (i.e., with the &lt;CODE&gt;g&lt;/CODE&gt; flag) to replace multiple occurrences with TRANSFORMS.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2010 15:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Performance-difference-between-using-SEDCMD-and-older-REGEX/m-p/97139#M1169</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-12-02T15:47:53Z</dc:date>
    </item>
  </channel>
</rss>

