<?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 Narrowing and Generalizing Searches in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Narrowing-and-Generalizing-Searches/m-p/80132#M20267</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;

&lt;P&gt;Is it possible to narrow down this search so that it would group these results by "Interface" and "Mozilla" versus the results I provided below? I want to group all the results into more generalized groups for a simpler dashboard panel. &lt;/P&gt;

&lt;P&gt;All these results are in the same field called "user_agent", but I would like to narrow down this search. Anyone know how this could be done? I was thinking of searching for just by keywords? Because most of my results are either "Interface...blah blah" or &lt;EM&gt;other... blah blah&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;example results&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1   "Interface (aaaf4b;win;1.8.3.3;Win7)"       
2   "Interface (aa0b;win;1.8.3.3;WinXP)"    
3   "Interface (aa04b;win;1.8.3.3;Vista)        
4   "Interface (8e0a;mac;1.8.3.3;OS X 10.6.8)"   
5   "Interface (8ea;mac;1.8.3.3;OS X 10.7.4)"      
6   "Interface (8ec0a;mac;1.8.3.3;OS X 10.7.3)"  
7   "Interface (aa04b;win;1.8.3.3;unknown)"    
8   "Interface (8e0a;mac;1.8.3.3;OS X 10.5.8)"  
9   "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WW64; Trident/5.0;CC2;   
10  "Interface" 1124    0.234167   
11  "Interface (8ec0a;mac;1.8.3.3;OS X 10.7.0)"  
12  "Mozilla/4.0 (compatible; MIE 6.0; Windows NT 5.1; V1; 
13  "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident   
14  "Interface (8ece0a;mac;1.8.3.3;OS X 10.6.3)  
15  "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0;   
16  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 20 Jun 2012 23:34:16 GMT</pubDate>
    <dc:creator>monicato</dc:creator>
    <dc:date>2012-06-20T23:34:16Z</dc:date>
    <item>
      <title>Narrowing and Generalizing Searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Narrowing-and-Generalizing-Searches/m-p/80132#M20267</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;

&lt;P&gt;Is it possible to narrow down this search so that it would group these results by "Interface" and "Mozilla" versus the results I provided below? I want to group all the results into more generalized groups for a simpler dashboard panel. &lt;/P&gt;

&lt;P&gt;All these results are in the same field called "user_agent", but I would like to narrow down this search. Anyone know how this could be done? I was thinking of searching for just by keywords? Because most of my results are either "Interface...blah blah" or &lt;EM&gt;other... blah blah&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;example results&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1   "Interface (aaaf4b;win;1.8.3.3;Win7)"       
2   "Interface (aa0b;win;1.8.3.3;WinXP)"    
3   "Interface (aa04b;win;1.8.3.3;Vista)        
4   "Interface (8e0a;mac;1.8.3.3;OS X 10.6.8)"   
5   "Interface (8ea;mac;1.8.3.3;OS X 10.7.4)"      
6   "Interface (8ec0a;mac;1.8.3.3;OS X 10.7.3)"  
7   "Interface (aa04b;win;1.8.3.3;unknown)"    
8   "Interface (8e0a;mac;1.8.3.3;OS X 10.5.8)"  
9   "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WW64; Trident/5.0;CC2;   
10  "Interface" 1124    0.234167   
11  "Interface (8ec0a;mac;1.8.3.3;OS X 10.7.0)"  
12  "Mozilla/4.0 (compatible; MIE 6.0; Windows NT 5.1; V1; 
13  "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident   
14  "Interface (8ece0a;mac;1.8.3.3;OS X 10.6.3)  
15  "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0;   
16  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jun 2012 23:34:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Narrowing-and-Generalizing-Searches/m-p/80132#M20267</guid>
      <dc:creator>monicato</dc:creator>
      <dc:date>2012-06-20T23:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Narrowing and Generalizing Searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Narrowing-and-Generalizing-Searches/m-p/80133#M20268</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;From the context you provide it seems this may be IIS data. If I get your meaning correctly, you should extract the piece of data require and then use that data in the statistical calculation. For example, when performing a search in line, you could use the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=iis blah blah | rex field=user_agent "(?&amp;lt;field_name&amp;gt;\w+)\s" | stats count by field_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Of course you can automate this in props.conf so the extraction happens automatically.&lt;/P&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2012 03:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Narrowing-and-Generalizing-Searches/m-p/80133#M20268</guid>
      <dc:creator>Gilberto_Castil</dc:creator>
      <dc:date>2012-06-21T03:11:09Z</dc:date>
    </item>
  </channel>
</rss>

