<?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: Need help with Stats report in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Stats-report/m-p/20759#M3306</link>
    <description>&lt;P&gt;I am very familiar with Regex. However, if I use regex to extract the pattern, "Filtered", "Missed", "Directories", and other 20+ labels become the &lt;STRONG&gt;values&lt;/STRONG&gt; of a field variable rather than the &lt;STRONG&gt;fields&lt;/STRONG&gt; themselves.&lt;/P&gt;

&lt;P&gt;I can hard code 20+ times in field conf, but I am trying to avoid that if possible.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Nov 2012 23:56:58 GMT</pubDate>
    <dc:creator>lain179</dc:creator>
    <dc:date>2012-11-01T23:56:58Z</dc:date>
    <item>
      <title>Need help with Stats report</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Stats-report/m-p/20757#M3304</link>
      <description>&lt;P&gt;I have hundreds of log files containing the following pattern. Basically, I need to create a report for each PROJECTNAME, with the column headers "Filtered", "Missed", "Directories", "New documents", etc.. The column values will be 0, 148, 0, 145, etc.&lt;/P&gt;

&lt;P&gt;Following four are just examples - I have about 20 different types, and I need to capture and report the counts per PROJECTNAME. How do I do that?&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;[A1] Filtered       : 0  &amp;lt;1 (12345)&amp;gt; SERVER.PROJECTNAME.Job&lt;BR /&gt;
&lt;BR /&gt;[A1] Missed         : 148  &amp;lt;1 (12345)&amp;gt; SERVER.PROJECTNAME.Job&lt;BR /&gt;
&lt;BR /&gt;[A1] Directories    : 0  &amp;lt;1 (12345)&amp;gt; SERVER.PROJECTNAME.Job&lt;BR /&gt;
&lt;BR /&gt;[A1] Total time : 0.5 ms &amp;lt;1 (12345)&amp;gt; SERVER.PROJECTNAME.Job&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 22:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Stats-report/m-p/20757#M3304</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2012-11-01T22:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Stats report</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Stats-report/m-p/20758#M3305</link>
      <description>&lt;P&gt;Are you fields defined? If not you'll have to set your Search time field extractions:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Addfieldsatsearchtime"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Addfieldsatsearchtime&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you're not very familiar with regex try using the Interactive Field Extractor:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Managesearch-timefieldextractions#Review_search-time_field_extractions_in_Manager"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Managesearch-timefieldextractions#Review_search-time_field_extractions_in_Manager&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If the fields are setup just run the search:&lt;BR /&gt;
| table Filtered, Missed, Directories, New documents&lt;/P&gt;

&lt;P&gt;To output to file:&lt;BR /&gt;
| table Filtered, Missed, Directories, New documents | outputcsv file.csv&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 23:29:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Stats-report/m-p/20758#M3305</guid>
      <dc:creator>jharty_splunk</dc:creator>
      <dc:date>2012-11-01T23:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Stats report</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Stats-report/m-p/20759#M3306</link>
      <description>&lt;P&gt;I am very familiar with Regex. However, if I use regex to extract the pattern, "Filtered", "Missed", "Directories", and other 20+ labels become the &lt;STRONG&gt;values&lt;/STRONG&gt; of a field variable rather than the &lt;STRONG&gt;fields&lt;/STRONG&gt; themselves.&lt;/P&gt;

&lt;P&gt;I can hard code 20+ times in field conf, but I am trying to avoid that if possible.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 23:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Stats-report/m-p/20759#M3306</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2012-11-01T23:56:58Z</dc:date>
    </item>
  </channel>
</rss>

