<?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 Create new Key-Value-Pair out of a Value in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-Key-Value-Pair-out-of-a-Value/m-p/176106#M35329</link>
    <description>&lt;P&gt;Hey together,&lt;/P&gt;

&lt;P&gt;I've got a problem with extracting multiple key-value-pairs.&lt;BR /&gt;
At the moment my input looks like this:&lt;/P&gt;

&lt;P&gt;PrcTpMem=firefox.exe=1611500, eclipse.exe=1393504, javaw.exe=1180432.&lt;/P&gt;

&lt;P&gt;When I extract the fields, it looks like PrcTpMem ist the Key for "firefox.exe=1611500".&lt;BR /&gt;
The following pair is eclipse.exe=1393504 caused by the comma.&lt;BR /&gt;
Actually the last way is the way it should look like. &lt;BR /&gt;
But I've got no idea how to split the first part or how to cut the first part by leaving out "the PrcTpMem=".&lt;/P&gt;

&lt;P&gt;In addition I have to manage it by &lt;STRONG&gt;editing the transforms.conf.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The Transforms.conf for this part looks like this at the moment :&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[System_Healthy]&lt;/P&gt;

&lt;P&gt;DELIMS = ";", ",="&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;It would be great if someone of you had an idea. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2013 08:30:24 GMT</pubDate>
    <dc:creator>Dreads94</dc:creator>
    <dc:date>2013-12-12T08:30:24Z</dc:date>
    <item>
      <title>Create new Key-Value-Pair out of a Value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-Key-Value-Pair-out-of-a-Value/m-p/176106#M35329</link>
      <description>&lt;P&gt;Hey together,&lt;/P&gt;

&lt;P&gt;I've got a problem with extracting multiple key-value-pairs.&lt;BR /&gt;
At the moment my input looks like this:&lt;/P&gt;

&lt;P&gt;PrcTpMem=firefox.exe=1611500, eclipse.exe=1393504, javaw.exe=1180432.&lt;/P&gt;

&lt;P&gt;When I extract the fields, it looks like PrcTpMem ist the Key for "firefox.exe=1611500".&lt;BR /&gt;
The following pair is eclipse.exe=1393504 caused by the comma.&lt;BR /&gt;
Actually the last way is the way it should look like. &lt;BR /&gt;
But I've got no idea how to split the first part or how to cut the first part by leaving out "the PrcTpMem=".&lt;/P&gt;

&lt;P&gt;In addition I have to manage it by &lt;STRONG&gt;editing the transforms.conf.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The Transforms.conf for this part looks like this at the moment :&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[System_Healthy]&lt;/P&gt;

&lt;P&gt;DELIMS = ";", ",="&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;It would be great if someone of you had an idea. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 08:30:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-Key-Value-Pair-out-of-a-Value/m-p/176106#M35329</guid>
      <dc:creator>Dreads94</dc:creator>
      <dc:date>2013-12-12T08:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Key-Value-Pair out of a Value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-Key-Value-Pair-out-of-a-Value/m-p/176107#M35330</link>
      <description>&lt;P&gt;Setting up an extract like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PrcTpMem=firefox.exe=(?&amp;lt;firefox&amp;gt;\d+),\seclipse.exe=(?&amp;lt;eclipse&amp;gt;\d+),\sjavaw.exe=(?&amp;lt;java&amp;gt;\d+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;will pull these out.&lt;/P&gt;

&lt;P&gt;However, if the items after PrcTpMem= can be dynamic or numerous, and if the PrcTpMem= string itself is useless to you, look at &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/admin/Propsconf"&gt;props.conf&lt;/A&gt; section for &lt;CODE&gt;SEDCMD-&lt;/CODE&gt; to remove that string entirely, which would basically solve your problem immediately upon indexing the new data.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 21:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-Key-Value-Pair-out-of-a-Value/m-p/176107#M35330</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2013-12-13T21:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Key-Value-Pair out of a Value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-Key-Value-Pair-out-of-a-Value/m-p/176108#M35331</link>
      <description>&lt;P&gt;Thanks a lot! It worked great.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 13:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-Key-Value-Pair-out-of-a-Value/m-p/176108#M35331</guid>
      <dc:creator>Dreads94</dc:creator>
      <dc:date>2013-12-17T13:51:17Z</dc:date>
    </item>
  </channel>
</rss>

