<?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: Can I specify a regex in a lookup table to group similar requests into the same output lookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64976#M16056</link>
    <description>&lt;P&gt;Sorry in the csv i have like this.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;BOTs       useragent&lt;BR /&gt;
Traverse   *Traverse*&lt;BR /&gt;
Capture    *Capture*&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2013 01:06:07 GMT</pubDate>
    <dc:creator>xvxt006</dc:creator>
    <dc:date>2013-09-19T01:06:07Z</dc:date>
    <item>
      <title>Can I specify a regex in a lookup table to group similar requests into the same output lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64972#M16052</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We would like to create a look up table based on some user agents. &lt;/P&gt;

&lt;P&gt;Mozilla/5.0 (compatible; Traverse/0.1; ABC 22175)&lt;BR /&gt;
Mozilla/5.0 (compatible; Traverse/0.1; ABC 23457)&lt;BR /&gt;
Mozilla/5.0 (compatible; Capture/0.4; ABC 56439)&lt;BR /&gt;
Mozilla/5.0 (compatible; Capture/0.2; ABC 98123)&lt;/P&gt;

&lt;P&gt;I would like to group similar kind of requests in the look up table and save them into Field XXX. &lt;/P&gt;

&lt;P&gt;So field XXX should show &lt;BR /&gt;
Traverse 2 requests&lt;BR /&gt;
Catpure 2 requests&lt;/P&gt;

&lt;P&gt;So can i specify reg ex in the look up table as there will be multiple patterns which i would like to group them.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 01:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64972#M16052</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2013-09-17T01:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I specify a regex in a lookup table to group similar requests into the same output lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64973#M16053</link>
      <description>&lt;P&gt;There is an app that provides a dynamic lookup for user agent strings; it is called &lt;STRONG&gt;TA-uas_parser&lt;/STRONG&gt;. Download it from&lt;/P&gt;

&lt;P&gt;&lt;A href="http://apps.splunk.com/app/1007"&gt;http://apps.splunk.com/app/1007&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It's free. The user agent string can be very complex. I don't recommend that you build this yourself.&lt;/P&gt;

&lt;P&gt;If you really want to do it youself, you can use wildcards (regular expressions) in the input field of a lookup table.&lt;BR /&gt;
See &lt;A href="http://answers.splunk.com/answers/28566/how-to-use-wildcard-in-lookup-based-searches-and-alerts"&gt;How to use wildcards in a lookup&lt;/A&gt; table for more info.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 04:18:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64973#M16053</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-09-17T04:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can I specify a regex in a lookup table to group similar requests into the same output lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64974#M16054</link>
      <description>&lt;P&gt;Thank you. I will try this.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 22:27:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64974#M16054</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2013-09-17T22:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I specify a regex in a lookup table to group similar requests into the same output lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64975#M16055</link>
      <description>&lt;P&gt;Hi, i tried the match_type = WILDCARD(useragent) and then i have in the csv file (Look up file). &lt;BR /&gt;
&lt;CODE&gt;BOTs       useragent&lt;BR /&gt;
Traverse   *Traverse*&lt;BR /&gt;
Capture    *Capture*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But i am not getting them grouped. One thing i want to mention is, i already have BOTs filed which extracts all the legitimate BOTs (which have +http://....). I want to add these others into the same field which does not have standard user agent (+http://.. format).&lt;/P&gt;

&lt;P&gt;Do you think it would work that way?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 01:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64975#M16055</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2013-09-19T01:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can I specify a regex in a lookup table to group similar requests into the same output lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64976#M16056</link>
      <description>&lt;P&gt;Sorry in the csv i have like this.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;BOTs       useragent&lt;BR /&gt;
Traverse   *Traverse*&lt;BR /&gt;
Capture    *Capture*&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 01:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64976#M16056</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2013-09-19T01:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I specify a regex in a lookup table to group similar requests into the same output lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64977#M16057</link>
      <description>&lt;P&gt;i think it is not showing asterisks in the comments&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 01:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-specify-a-regex-in-a-lookup-table-to-group-similar/m-p/64977#M16057</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2013-09-19T01:10:17Z</dc:date>
    </item>
  </channel>
</rss>

