<?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: How to parse and index fields from my unstructured data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191695#M38163</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;Can you please provide a demo for unstructured data.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Sep 2018 13:27:16 GMT</pubDate>
    <dc:creator>prsak1</dc:creator>
    <dc:date>2018-09-25T13:27:16Z</dc:date>
    <item>
      <title>How to parse and index fields from my unstructured data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191690#M38158</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to successfully parse out some fields from unstructured log file.&lt;BR /&gt;
Below is a snippet:&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;Tue Jun 16 00:15:27 EDT 2015 
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND 
root 2 0.0 0.0 0 0 ? S Jun07 0:00 [kthreadd] 
root 3 0.0 0.0 0 0 ? S Jun07 1:06 \_ [mi/0] 
root 4 0.0 0.0 0 0 ? S Jun07 0:15 \_ [ks/0] 
root 5 0.0 0.0 0 0 ? S Jun07 0:00 \_ [mi/0] 
root 6 0.0 0.0 0 0 ? S Jun07 5:27 \_ [wa/0] 
root 7 0.0 0.0 0 0 ? S Jun07 1:39 \_ [mi/1] 
root 8 0.0 0.0 0 0 ? S Jun07 0:00 \_ [mi/1] 
root 9 0.0 0.0 0 0 ? S Jun07 0:14 \_ [ks/1] 
root 10 0.0 0.0 0 0 ? S Jun07 0:01 \_ [wa1]
root 11 0.0 0.0 0 0 ? S Jun07 1:04 \_ [mi/2] 
root 12 0.0 0.0 0 0 ? S Jun07 0:00 \_ [mi/2]
-----------------------------------------
Tue Jun 16 00:20:27 EDT 2015 
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Using Splunk data parser, how could I patternize and successfully get a specific column or two?&lt;BR /&gt;
(I am looking into ways to find smart patterns using regex, or just ------------------- as a pattern)&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Jack&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 15:39:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191690#M38158</guid>
      <dc:creator>minkyuk</dc:creator>
      <dc:date>2015-07-06T15:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse and index fields from my unstructured data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191691#M38159</link>
      <description>&lt;P&gt;Have a look at the &lt;CODE&gt;multikv&lt;/CODE&gt; command.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 16:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191691#M38159</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-07-06T16:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse and index fields from my unstructured data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191692#M38160</link>
      <description>&lt;P&gt;You need to tell Splunk that this file has &lt;CODE&gt;multi-line&lt;/CODE&gt; events like this in your &lt;CODE&gt;props.conf&lt;/CODE&gt; file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=%a %b %d %H:%M:%S %Z %Y`
SHOULD_LINEMERGE= true
BREAK_ONLY_BEFORE_DATE = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you need to tell Splunk that each event is of type 'multikv`.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Multikvconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Multikvconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There is also a &lt;CODE&gt;multikv&lt;/CODE&gt; command:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/multikv"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/multikv&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 19:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191692#M38160</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-06T19:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse and index fields from my unstructured data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191693#M38161</link>
      <description>&lt;P&gt;Thank you for detailed response; where could I edit props.conf?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 19:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191693#M38161</guid>
      <dc:creator>minkyuk</dc:creator>
      <dc:date>2015-07-06T19:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse and index fields from my unstructured data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191694#M38162</link>
      <description>&lt;P&gt;The same place where you edited &lt;CODE&gt;inputs.conf&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 19:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191694#M38162</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-06T19:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse and index fields from my unstructured data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191695#M38163</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;Can you please provide a demo for unstructured data.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 13:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191695#M38163</guid>
      <dc:creator>prsak1</dc:creator>
      <dc:date>2018-09-25T13:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse and index fields from my unstructured data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191696#M38164</link>
      <description>&lt;P&gt;@prsak1 You're adding on to a question that is more than three years old and has an accepted answer.  There's not likely to be many people seeing your comment.  I suggest you post a new question describing the problem you are trying to resolve.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 17:02:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-and-index-fields-from-my-unstructured-data/m-p/191696#M38164</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-09-25T17:02:06Z</dc:date>
    </item>
  </channel>
</rss>

