<?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 Extract using pairdelim and kvdelim in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233980#M188454</link>
    <description>&lt;P&gt;Hi,   First time trying to use pardelim and kvdelim and having no luck.  &lt;/P&gt;

&lt;P&gt;The data looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;####&amp;lt;Aug 19, 2016 3:06:01 PM CDT&amp;gt; &amp;lt;Debug&amp;gt; &amp;lt;ucontrol&amp;gt; &amp;lt;betamax-portal1&amp;gt; &amp;lt;managedServer3&amp;gt; &amp;lt;[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'&amp;gt; &amp;lt;&amp;lt;anonymous&amp;gt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;1471637161846&amp;gt; &amp;lt;BEA-000000&amp;gt; &amp;lt;com.ucontrol.rest.security.LoggingFilter  - RCVD REST request: 
GET /rest/icontrol/login HTTP/1.1
Host: betamax-portal1:8080
accept-language: en-us
user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 (2037495216)
x-login: cccc
x-password: ********
accept: application/json, text/plain, */*
x-allownonactivatedlogin: true
referer: &lt;A href="http://10.0.12.143:8100/" target="test_blank"&gt;http://10.0.12.143:8100/&lt;/A&gt;
x-appkey: defaultKey
x-expires: 600000
cookie: _ga=GA1.1.1016043735.1471636804; _gat=1
accept-encoding: gzip, deflate
Via: 1.1 beta.icontrol.com
X-Forwarded-For: 63.239.122.42
X-Forwarded-Host: beta.icontrol.com
X-Forwarded-Server: beta.icontrol.com
Connection: close
expand: sites,instances,points,functions
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And the nth iteration of my non working query looks like this.  The query executes but I don't see any of the fields.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=cox sourcetype=wls_managedserver Stuck| kv pairdelim="\n" kvdelim=":"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 19 Aug 2016 20:14:18 GMT</pubDate>
    <dc:creator>dbcase</dc:creator>
    <dc:date>2016-08-19T20:14:18Z</dc:date>
    <item>
      <title>Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233980#M188454</link>
      <description>&lt;P&gt;Hi,   First time trying to use pardelim and kvdelim and having no luck.  &lt;/P&gt;

&lt;P&gt;The data looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;####&amp;lt;Aug 19, 2016 3:06:01 PM CDT&amp;gt; &amp;lt;Debug&amp;gt; &amp;lt;ucontrol&amp;gt; &amp;lt;betamax-portal1&amp;gt; &amp;lt;managedServer3&amp;gt; &amp;lt;[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'&amp;gt; &amp;lt;&amp;lt;anonymous&amp;gt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;1471637161846&amp;gt; &amp;lt;BEA-000000&amp;gt; &amp;lt;com.ucontrol.rest.security.LoggingFilter  - RCVD REST request: 
GET /rest/icontrol/login HTTP/1.1
Host: betamax-portal1:8080
accept-language: en-us
user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 (2037495216)
x-login: cccc
x-password: ********
accept: application/json, text/plain, */*
x-allownonactivatedlogin: true
referer: &lt;A href="http://10.0.12.143:8100/" target="test_blank"&gt;http://10.0.12.143:8100/&lt;/A&gt;
x-appkey: defaultKey
x-expires: 600000
cookie: _ga=GA1.1.1016043735.1471636804; _gat=1
accept-encoding: gzip, deflate
Via: 1.1 beta.icontrol.com
X-Forwarded-For: 63.239.122.42
X-Forwarded-Host: beta.icontrol.com
X-Forwarded-Server: beta.icontrol.com
Connection: close
expand: sites,instances,points,functions
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And the nth iteration of my non working query looks like this.  The query executes but I don't see any of the fields.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=cox sourcetype=wls_managedserver Stuck| kv pairdelim="\n" kvdelim=":"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2016 20:14:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233980#M188454</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-19T20:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233981#M188455</link>
      <description>&lt;P&gt;Actually the data looks like this....####     &amp;lt;[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'&amp;gt; &amp;lt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;1470912327355&amp;gt;  &amp;lt;[STUCK] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "662" seconds working on the request "Workmanager: mediaUpload-workManager, Version: 0, Scheduled=true, Started=true, Started time: 662872 ms&lt;BR /&gt;
[&lt;BR /&gt;
POST /cameraProxy/video?token=MTE0NTg5OjExNDU4OS4xNDcwMzgzNzc1OjExNDU4OS4zOjExNDU4OV83ODAzNDM2NTE3X3ZfMTM2NF80MjM4MjUwOTo2MDAyNTM= HTTP/1.1&lt;BR /&gt;
Content-Type: video/mp4&lt;BR /&gt;
Authorization: Basic OTQ0YTBjMjUzMDgxOg==&lt;BR /&gt;
X-TimestampedFile: 160811023334&lt;BR /&gt;
X-Capture-Time: 160811023334&lt;BR /&gt;
Date: Thu, 11 Aug 2016 02:33:39 -0800&lt;BR /&gt;
X-TriggerType: http&lt;BR /&gt;
X-EventInfo: httpc_1&lt;BR /&gt;
Via: 1.0 10.210.192.63&lt;BR /&gt;
X-Forwarded-For: 10.210.192.5&lt;BR /&gt;
X-Forwarded-Host: 184.185.0.36&lt;BR /&gt;
X-Forwarded-Server: 10.210.192.63&lt;BR /&gt;
Connection: Keep-Alive&lt;BR /&gt;
Content-Length: 1542184&lt;BR /&gt;
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:&lt;BR /&gt;
null&amp;gt; &lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 20:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233981#M188455</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-19T20:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233982#M188456</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=cox sourcetype=wls_managedserver Stuck| extract pairdelim="\n" kvdelim=":"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2016 20:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233982#M188456</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-19T20:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233983#M188457</link>
      <description>&lt;P&gt;Hi Sundareshr! &lt;/P&gt;

&lt;P&gt;Do you ever sleep?  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;   The query executes but I don't see any of the fields in the field list to the left.  I really haven't used this before so I'm pretty sure I'm doing something wrong....  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 20:32:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233983#M188457</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-19T20:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233984#M188458</link>
      <description>&lt;P&gt;I'm trying to pull the values for Content-Type but every time I try to use that field it comes up null, even though the data clearly has values&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 20:35:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233984#M188458</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-19T20:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233985#M188459</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I don't see Content-Type in the sample you provided? What am I not looking at? &lt;/P&gt;

&lt;P&gt;One of the things you may already be aware of, the fields on the left, only show if more than 20% events have the field. &lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 20:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233985#M188459</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-19T20:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233986#M188460</link>
      <description>&lt;P&gt;Hi Sundareshr,&lt;/P&gt;

&lt;P&gt;I think I pasted the wrong one before.  Below is the correct one.  The search only returns 2 events and both of them have the Content-Type kv.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;####&amp;lt;Aug 11, 2016 6:45:27 AM EDT&amp;gt; &amp;lt;Error&amp;gt; &amp;lt;WebLogicServer&amp;gt; &amp;lt;ccivirpxa0712&amp;gt; &amp;lt;managedServer23&amp;gt; &amp;lt;[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'&amp;gt; &amp;lt;&amp;lt;WLS Kernel&amp;gt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;&amp;gt; &amp;lt;1470912327355&amp;gt; &amp;lt;BEA-000337&amp;gt; &amp;lt;[STUCK] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "662" seconds working on the request "Workmanager: mediaUpload-workManager, Version: 0, Scheduled=true, Started=true, Started time: 662872 ms
[
POST /cameraProxy/video?token=MTE0NTg5OjExNDU4OS4xNDcwMzgzNzc1OjExNDU4OS4zOjExNDU4OV83ODAzNDM2NTE3X3ZfMTM2NF80MjM4MjUwOTo2MDAyNTM= HTTP/1.1
Content-Type: video/mp4
Authorization: Basic OTQ0YTBjMjUzMDgxOg==
X-TimestampedFile: 160811023334
X-Capture-Time: 160811023334
Date: Thu, 11 Aug 2016 02:33:39 -0800
X-TriggerType: http
X-EventInfo: httpc_1
Via: 1.0 10.210.192.63
X-Forwarded-For: 10.210.192.5
X-Forwarded-Host: 184.185.0.36
X-Forwarded-Server: 10.210.192.63
Connection: Keep-Alive
Content-Length: 1542184
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
null&amp;gt; 
Collapse
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233986#M188460</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-19T21:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233987#M188461</link>
      <description>&lt;P&gt;Not sure why that is not working. You can achieve the same result by adding a field transformation (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/Managefieldtransforms"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/Managefieldtransforms&lt;/A&gt;)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Regular Expression: ([\w+-[^:]+):\s+([^\n]+)
Format: $1::$2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233987#M188461</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-19T21:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233988#M188462</link>
      <description>&lt;P&gt;so a follow on question.  If the field doesn't appear in 20% of the total events (this would be true in this case as there are 1000's of events but only 2 have the Stuck keyword), how can the field be extracted and used?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:29:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233988#M188462</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-19T21:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233989#M188463</link>
      <description>&lt;P&gt;Oh Goody!  TWO things I've not done before  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Ok I've added the field transformation and re-run the search but still no luck.  Is there something else I should be doing?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233989#M188463</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-19T21:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233990#M188464</link>
      <description>&lt;P&gt;Did you restart splunk on SH?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233990#M188464</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-19T21:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract using pairdelim and kvdelim</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233991#M188465</link>
      <description>&lt;P&gt;If it is only the Content-Type field you're interested in, may be easier to just use rex&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "Content-Type:\s+(?&amp;lt;contenttype&amp;gt;[^\n\r]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:59:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-using-pairdelim-and-kvdelim/m-p/233991#M188465</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-19T21:59:40Z</dc:date>
    </item>
  </channel>
</rss>

