<?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: Props and transforms not extracting fields properly for csv data in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Props-and-transforms-not-extracting-fields-properly-for-csv-data/m-p/524437#M4783</link>
    <description>&lt;P&gt;The transform defines 3 capture groups, but only uses 2.&amp;nbsp; One of the capture groups extracts a field (vmname) that is also extracted by the EXTRACT setting.&lt;/P&gt;&lt;P&gt;Since the "Summary|vSphere Tag" field contains multiple key/value pairs, I believe the transforms needs the &lt;FONT face="courier new,courier"&gt;MV_ADD=true&lt;/FONT&gt; setting.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 14:57:00 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-10-13T14:57:00Z</dc:date>
    <item>
      <title>Props and transforms not extracting fields properly for csv data</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Props-and-transforms-not-extracting-fields-properly-for-csv-data/m-p/524346#M4782</link>
      <description>&lt;P&gt;I have a CSV data in following format and I have written props and transforms to extract the fields. Somehow, the ""Summary|vSphere Tag"" field values are not getting extracted wherein I have written transforms for it. Below are my configuration files - inputs, props and transforms :&lt;/P&gt;&lt;P&gt;CSV Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"Name","Summary|vSphere Tag"
"DC4VPWSAM","[&amp;lt;Application_category-Software Asset Management&amp;gt;, &amp;lt;Sub_class-Facilities&amp;gt;, &amp;lt;Department-Infrastructure &amp;amp; Operations&amp;gt;, &amp;lt;Primary_System_Owner-Pankaj Gadhari&amp;gt;, &amp;lt;Section-SM Service Support_Sec&amp;gt;, &amp;lt;Organisation-Technology &amp;amp; Infrastructure&amp;gt;, &amp;lt;Division-I&amp;amp;O Service Management&amp;gt;, &amp;lt;Application_Name-Manager Suite&amp;gt;, &amp;lt;Unit-SM Service Support&amp;gt;, &amp;lt;Class-Line of Business&amp;gt;]"

"DC1VPWSAM","[&amp;lt;Application_category-Software Asset Management&amp;gt;, &amp;lt;Sub_class-Facilities&amp;gt;, &amp;lt;Department-Infrastructure &amp;amp; Operations&amp;gt;, &amp;lt;Primary_System_Owner-Pankaj Gadhari&amp;gt;, &amp;lt;Section-SM Service Support_Sec&amp;gt;, &amp;lt;Organisation-Technology &amp;amp; Infrastructure&amp;gt;, &amp;lt;Division-I&amp;amp;O Service Management&amp;gt;, &amp;lt;Application_Name-Manager Suite&amp;gt;, &amp;lt;Unit-SM Service Support&amp;gt;, &amp;lt;Class-Line of Business&amp;gt;]"

"DC3VPWSAM","[&amp;lt;Application_category-Software Asset Management&amp;gt;, &amp;lt;Sub_class-Facilities&amp;gt;, &amp;lt;Department-Infrastructure &amp;amp; Operations&amp;gt;, &amp;lt;Primary_System_Owner-Pankaj Gadhari&amp;gt;, &amp;lt;Section-SM Service Support_Sec&amp;gt;, &amp;lt;Organisation-Technology &amp;amp; Infrastructure&amp;gt;, &amp;lt;Division-I&amp;amp;O Service Management&amp;gt;, &amp;lt;Application_Name-Manager Suite&amp;gt;, &amp;lt;Unit-SM Service Support&amp;gt;, &amp;lt;Class-Line of Business&amp;gt;]"

"DCVPWSCCM","[&amp;lt;Primary_System_Owner-Pankaj Gadhari&amp;gt;]"

"witsql-esx","none"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://C:\VMware-Tags\tagsplit\*.csv]
disabled = false
index = vmware
sourcetype = vmware-tags-csv
crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[vmware-tags-csv]
DATETIME_CONFIG = CURRENT
INDEXED_EXTRACTIONS = csv
KV_MODE = none
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
disabled = false
pulldown_type = true
REPORT-vmtags = myplaintransform1
EXTRACT-vmname = (?&amp;lt;vmname&amp;gt;[A-Za-z0-9]+),&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[myplaintransform1]
REGEX=(?&amp;lt;vmname&amp;gt;[A-Za-z0-9]+),\&amp;lt;(.*?)-(.*?)\&amp;gt;
FORMAT=$1::$2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tag_issue.PNG" style="width: 346px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11265i7886E222931D9539/image-size/large?v=v2&amp;amp;px=999" role="button" title="tag_issue.PNG" alt="tag_issue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;somehow the transforms is not working and the fields are not getting extracted. I want to extract Key Value pairs from&amp;nbsp;"Summary|vSphere Tag" field so that it should show in search as below :&lt;/P&gt;&lt;P&gt;vmname,&lt;/P&gt;&lt;P&gt;Application_category&lt;/P&gt;&lt;P&gt;Primary_System_Owner and so on...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help resolve the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 07:56:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Props-and-transforms-not-extracting-fields-properly-for-csv-data/m-p/524346#M4782</guid>
      <dc:creator>pgadhari</dc:creator>
      <dc:date>2020-10-13T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Props and transforms not extracting fields properly for csv data</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Props-and-transforms-not-extracting-fields-properly-for-csv-data/m-p/524437#M4783</link>
      <description>&lt;P&gt;The transform defines 3 capture groups, but only uses 2.&amp;nbsp; One of the capture groups extracts a field (vmname) that is also extracted by the EXTRACT setting.&lt;/P&gt;&lt;P&gt;Since the "Summary|vSphere Tag" field contains multiple key/value pairs, I believe the transforms needs the &lt;FONT face="courier new,courier"&gt;MV_ADD=true&lt;/FONT&gt; setting.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 14:57:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Props-and-transforms-not-extracting-fields-properly-for-csv-data/m-p/524437#M4783</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-13T14:57:00Z</dc:date>
    </item>
    <item>
      <title>SRe: Props and transforms not extracting fields properly for csv data</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Props-and-transforms-not-extracting-fields-properly-for-csv-data/m-p/525105#M4791</link>
      <description>&lt;P&gt;sure. I will check that setting and get back to you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 17:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Props-and-transforms-not-extracting-fields-properly-for-csv-data/m-p/525105#M4791</guid>
      <dc:creator>pgadhari</dc:creator>
      <dc:date>2020-10-16T17:26:03Z</dc:date>
    </item>
  </channel>
</rss>

