<?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: Extracting everything but numbers from _raw message in props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42269#M7850</link>
    <description>&lt;P&gt;could this be a good thing?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_base_search | eval new_field = _raw | rex field=new_field mode=sed "s/\d+//g" | stats c by new_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2013 21:09:18 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-08-21T21:09:18Z</dc:date>
    <item>
      <title>Extracting everything but numbers from _raw message in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42268#M7849</link>
      <description>&lt;P&gt;I want to extract all characters but digits and have that as a new field. I've done this with easy in search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rex mode=sed "/s\d+//g" | rename _raw AS new_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but this will not let me see the original _raw message nor does props.conf seem to be able to use one field in a new extraction so I cant extract (copy) _raw and the get rid of numbers using SEDCMD. How do I do this? help please???&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 20:46:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42268#M7849</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-08-21T20:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting everything but numbers from _raw message in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42269#M7850</link>
      <description>&lt;P&gt;could this be a good thing?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_base_search | eval new_field = _raw | rex field=new_field mode=sed "s/\d+//g" | stats c by new_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 21:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42269#M7850</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-08-21T21:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting everything but numbers from _raw message in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42270#M7851</link>
      <description>&lt;P&gt;I would prefer to be able to do it as a default field whereas if I went this way it'd probably end up as a macro, but it's given me some ideas. I'll get back to you. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 21:17:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42270#M7851</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-08-21T21:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting everything but numbers from _raw message in props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42271#M7852</link>
      <description>&lt;P&gt;Well this helped me find a solution even though it ended up being a macro.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2013 18:26:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-everything-but-numbers-from-raw-message-in-props-conf/m-p/42271#M7852</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-08-22T18:26:00Z</dc:date>
    </item>
  </channel>
</rss>

