<?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 1st report - breaking out fields, etc in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/1st-report-breaking-out-fields-etc/m-p/47057#M11238</link>
    <description>&lt;P&gt;ok, I have my data flowing in hourly and pleased with how it's going.  I now want to get into some reporting, etc.  I am looking at a specific logfile that get's written, a sample string looks like this;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;"INFO"|"httpSSLWorkerThread-8080-13"|"2012-05-09 09:59:59.584 EDT"|"ServiceType"|"ServiceDesc"|"&lt;/CODE&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;&lt;CODE&gt;"|"0"|"76.123.70.236"|"84e778ae-fe8e-4b8f-8d33-6bc88967a2b1"|"bdae358a67b051cf0daqwdqwdwqd1ad"|"1"|"-1"|""|""|"36"|""|""|""|""|""|""|""|""|""&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So, right now I simply want to run a daily report that shows the amount of traffic/events, and use the bold "20" in the above example as a value to graph (which is the response time).   I'm sure the response I get will answer a lot of future questions which will be similar, the string is always the same so I am just assuming I need to define that string, name the fields what they are, etc. &lt;/P&gt;

&lt;P&gt;is there a simple video to watch, or another way that will start me on this journey  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Tnx&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2012 14:52:19 GMT</pubDate>
    <dc:creator>lancealotx</dc:creator>
    <dc:date>2012-05-09T14:52:19Z</dc:date>
    <item>
      <title>1st report - breaking out fields, etc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/1st-report-breaking-out-fields-etc/m-p/47057#M11238</link>
      <description>&lt;P&gt;ok, I have my data flowing in hourly and pleased with how it's going.  I now want to get into some reporting, etc.  I am looking at a specific logfile that get's written, a sample string looks like this;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;"INFO"|"httpSSLWorkerThread-8080-13"|"2012-05-09 09:59:59.584 EDT"|"ServiceType"|"ServiceDesc"|"&lt;/CODE&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;&lt;CODE&gt;"|"0"|"76.123.70.236"|"84e778ae-fe8e-4b8f-8d33-6bc88967a2b1"|"bdae358a67b051cf0daqwdqwdwqd1ad"|"1"|"-1"|""|""|"36"|""|""|""|""|""|""|""|""|""&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So, right now I simply want to run a daily report that shows the amount of traffic/events, and use the bold "20" in the above example as a value to graph (which is the response time).   I'm sure the response I get will answer a lot of future questions which will be similar, the string is always the same so I am just assuming I need to define that string, name the fields what they are, etc. &lt;/P&gt;

&lt;P&gt;is there a simple video to watch, or another way that will start me on this journey  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Tnx&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 14:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/1st-report-breaking-out-fields-etc/m-p/47057#M11238</guid>
      <dc:creator>lancealotx</dc:creator>
      <dc:date>2012-05-09T14:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: 1st report - breaking out fields, etc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/1st-report-breaking-out-fields-etc/m-p/47058#M11239</link>
      <description>&lt;P&gt;Here is the example that you are looking for. This will show you how splunk can automatically generate the regex for you to extract fields.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 14:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/1st-report-breaking-out-fields-etc/m-p/47058#M11239</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-05-09T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: 1st report - breaking out fields, etc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/1st-report-breaking-out-fields-etc/m-p/47059#M11240</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In &lt;CODE&gt;inputs.conf&lt;/CODE&gt; (on the forwarder if you have one) you specify the sourcetype.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/path/to/your/file/here]
index=your_index
sourcetype=your_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;CODE&gt;props.conf&lt;/CODE&gt; on the indexer (unless you have a Heavy Forwarder, then it's on the forwarder) you tell Splunk to extract the field names according to instructions in another file. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype]
REPORT-fields_report_blaha = my_field_extractions
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; on the indexer (unless you have a Heavy Forwarder ...) you specify what delimitis the values in your events, and what the fields should be called.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_field_extractions]
DELIMS = "|"
FIELDS = log_level, thread, timestamp, srvc_type, srvc_desc, responsetime,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;etc etc etc for all the fields you have in your event.&lt;/P&gt;

&lt;P&gt;BTW, the files you want to edit/create would most likely be in &lt;CODE&gt;/opt/splunk/etc/system/local&lt;/CODE&gt;. Never edit files in a 'default'-directory, copy it to the 'local'-directory instead, or simply create a new one with the same name. Settings in a 'local' file override settings in a 'default' file on a per-setting basis - not the complete file.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 15:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/1st-report-breaking-out-fields-etc/m-p/47059#M11240</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-09T15:33:11Z</dc:date>
    </item>
  </channel>
</rss>

