<?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 Complicated extraction in props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Complicated-extraction-in-props-conf/m-p/42241#M7841</link>
    <description>&lt;P&gt;The jist of the search is that it removes lots of infomation from _raw and gives me back whats left AS msgdigest.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=auth |rex mode=sed "s/[a-z]+\d{1,4}//" |rex mode=sed "s/user\s[a-z]+/user /" |rex mode=sed "s/(user|USER)=[a-z]+/user=/" |rex mode=sed "s/\d+//g" |rex mode=sed "s/(Jan|January|Feb|Febuary|Mar|March|Apr|April|May|Jun|June|Jul|July|Aug|August|Sep|September|Oct|October|Nov|November|Dec|December|Mon|Tue|Wed|Thu|Fri|Sat|Sun|PM|AM|PDT|PST)//g" |rex mode=sed "s/\s+/_/g"| rename _raw AS msgdigest |stats count by msgdigest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to find a way to make this work in prop.conf (or if I have to also using transforms.conf). Appreciate the help!!!!&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2013 20:34:00 GMT</pubDate>
    <dc:creator>cpeteman</dc:creator>
    <dc:date>2013-08-21T20:34:00Z</dc:date>
    <item>
      <title>Complicated extraction in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Complicated-extraction-in-props-conf/m-p/42241#M7841</link>
      <description>&lt;P&gt;The jist of the search is that it removes lots of infomation from _raw and gives me back whats left AS msgdigest.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=auth |rex mode=sed "s/[a-z]+\d{1,4}//" |rex mode=sed "s/user\s[a-z]+/user /" |rex mode=sed "s/(user|USER)=[a-z]+/user=/" |rex mode=sed "s/\d+//g" |rex mode=sed "s/(Jan|January|Feb|Febuary|Mar|March|Apr|April|May|Jun|June|Jul|July|Aug|August|Sep|September|Oct|October|Nov|November|Dec|December|Mon|Tue|Wed|Thu|Fri|Sat|Sun|PM|AM|PDT|PST)//g" |rex mode=sed "s/\s+/_/g"| rename _raw AS msgdigest |stats count by msgdigest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to find a way to make this work in prop.conf (or if I have to also using transforms.conf). Appreciate the help!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 20:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Complicated-extraction-in-props-conf/m-p/42241#M7841</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-08-21T20:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Complicated extraction in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Complicated-extraction-in-props-conf/m-p/42242#M7842</link>
      <description>&lt;P&gt;If you wish to do this at index time, and permanently remove the data before it's even written to an index, you can use SEDCMD in props.conf.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;However, I don't think you should remove any timestamps.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Krisitian&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 21:04:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Complicated-extraction-in-props-conf/m-p/42242#M7842</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-08-21T21:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Complicated extraction in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Complicated-extraction-in-props-conf/m-p/42243#M7843</link>
      <description>&lt;P&gt;The goal is not to remove permanently (you are right in thinking that would be bad &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; but instead to have a new field without the parts I took out from _raw.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 21:06:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Complicated-extraction-in-props-conf/m-p/42243#M7843</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-08-21T21:06:23Z</dc:date>
    </item>
  </channel>
</rss>

