<?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: search regular expressions without field extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/search-regular-expressions-without-field-extraction/m-p/66947#M16715</link>
    <description>&lt;P&gt;So the _raw was what I was missing I guess. Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2012 13:45:42 GMT</pubDate>
    <dc:creator>jeremiahc4</dc:creator>
    <dc:date>2012-06-04T13:45:42Z</dc:date>
    <item>
      <title>search regular expressions without field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-regular-expressions-without-field-extraction/m-p/66945#M16713</link>
      <description>&lt;P&gt;I would like to perform a regular expression search without any field extraction. I know you can do asterisks for things that start with what you're looking for, but all I have is a format of something I'm interested in. I'm sure this is simple and I've overlooked it, but I'm still coming up short. This is new unstructured data so I have no fields yet identified. I'm trying to search for a subset of events so I can start building out my field extractions.&lt;/P&gt;

&lt;P&gt;I'm basically trying to search for any events that have a single letter followed by 6 numbers. I would use something like this in other languages;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[a-z,A-Z][0-9][0-9][0-9][0-9][0-9][0-9]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-regular-expressions-without-field-extraction/m-p/66945#M16713</guid>
      <dc:creator>jeremiahc4</dc:creator>
      <dc:date>2012-06-04T13:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: search regular expressions without field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-regular-expressions-without-field-extraction/m-p/66946#M16714</link>
      <description>&lt;P&gt;Regex or rex would be what you want.  Something like this should work:&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
... | regex _raw="\w\d{6}"&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/SearchReference/Rex"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/SearchReference/Rex&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/SearchReference/Regex"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/SearchReference/Regex&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:33:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-regular-expressions-without-field-extraction/m-p/66946#M16714</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2012-06-04T13:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: search regular expressions without field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-regular-expressions-without-field-extraction/m-p/66947#M16715</link>
      <description>&lt;P&gt;So the _raw was what I was missing I guess. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-regular-expressions-without-field-extraction/m-p/66947#M16715</guid>
      <dc:creator>jeremiahc4</dc:creator>
      <dc:date>2012-06-04T13:45:42Z</dc:date>
    </item>
  </channel>
</rss>

