<?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 Multivalued field extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multivalued-field-extraction/m-p/514608#M144449</link>
    <description>&lt;P&gt;This is the search i am using to extract key/value from the field&amp;nbsp; "&lt;SPAN&gt;RID&lt;/SPAN&gt;" with multivalued "DEF"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| rex max_match=0 field=RID "(?P&amp;lt;key&amp;gt;[A-Z]+)\s+:\s+(?P&amp;lt;value&amp;gt;[^\n|\"]+)\"?,?"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RID=&lt;BR /&gt;"ABC: ABC-2017-5715&lt;BR /&gt;DEF: 4057120&lt;BR /&gt;DEF : 4088779&lt;BR /&gt;DEF : 4088782&lt;BR /&gt;DEF : 4088786&lt;BR /&gt;XYZ : &lt;A href="https://portal.msrc.microsoft.com/en-US/&amp;quot;" target="_blank" rel="noopener"&gt;https://portal.msrc.microsoft.com/en-US/"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This works fine while performed from the GUI and are extracted into new fields key &amp;amp; value. But the same thing when applied through transforms.conf doesnt extract anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;# extract multiple fields within source_key and give them key=value&lt;BR /&gt;SOURCE_KEY = RID&lt;BR /&gt;#REGEX = ([A-Z]+)\s+\:\s+([^\s|\n|\"]+)\"?,?&lt;BR /&gt;REGEX = ([A-Z]+)\s+:\s+([^\n|\"]+)\"?,?&lt;BR /&gt;FORMAT = $1::$2&lt;BR /&gt;MV_ADD = 1&lt;/P&gt;&lt;P&gt;The above is the extraction used in transforms.conf with appropriate reference in props.conf.&amp;nbsp;Anybody who has faced something similar and been able to fix?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Aug 2020 06:49:00 GMT</pubDate>
    <dc:creator>Abhi89</dc:creator>
    <dc:date>2020-08-18T06:49:00Z</dc:date>
    <item>
      <title>Multivalued field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multivalued-field-extraction/m-p/514608#M144449</link>
      <description>&lt;P&gt;This is the search i am using to extract key/value from the field&amp;nbsp; "&lt;SPAN&gt;RID&lt;/SPAN&gt;" with multivalued "DEF"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| rex max_match=0 field=RID "(?P&amp;lt;key&amp;gt;[A-Z]+)\s+:\s+(?P&amp;lt;value&amp;gt;[^\n|\"]+)\"?,?"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RID=&lt;BR /&gt;"ABC: ABC-2017-5715&lt;BR /&gt;DEF: 4057120&lt;BR /&gt;DEF : 4088779&lt;BR /&gt;DEF : 4088782&lt;BR /&gt;DEF : 4088786&lt;BR /&gt;XYZ : &lt;A href="https://portal.msrc.microsoft.com/en-US/&amp;quot;" target="_blank" rel="noopener"&gt;https://portal.msrc.microsoft.com/en-US/"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This works fine while performed from the GUI and are extracted into new fields key &amp;amp; value. But the same thing when applied through transforms.conf doesnt extract anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;# extract multiple fields within source_key and give them key=value&lt;BR /&gt;SOURCE_KEY = RID&lt;BR /&gt;#REGEX = ([A-Z]+)\s+\:\s+([^\s|\n|\"]+)\"?,?&lt;BR /&gt;REGEX = ([A-Z]+)\s+:\s+([^\n|\"]+)\"?,?&lt;BR /&gt;FORMAT = $1::$2&lt;BR /&gt;MV_ADD = 1&lt;/P&gt;&lt;P&gt;The above is the extraction used in transforms.conf with appropriate reference in props.conf.&amp;nbsp;Anybody who has faced something similar and been able to fix?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 06:49:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multivalued-field-extraction/m-p/514608#M144449</guid>
      <dc:creator>Abhi89</dc:creator>
      <dc:date>2020-08-18T06:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multivalued field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multivalued-field-extraction/m-p/514615#M144451</link>
      <description>&lt;P&gt;&lt;SPAN&gt;SOURCE_KEY = field:RID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#REGEX = ([A-Z]+)\s+\:\s+([^\s|\n|\"]+)\"?,?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REGEX = (?m)([A-Z]+)\s*:\s*([^\"]+)$&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FORMAT = $1::$2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MV_ADD = 1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;REPEAT_MATCH = true&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;RID field is indexed field?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 07:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multivalued-field-extraction/m-p/514615#M144451</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-08-18T07:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multivalued field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multivalued-field-extraction/m-p/514647#M144459</link>
      <description>&lt;P&gt;Thats right&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;. "RID" is an indexed field.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 08:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multivalued-field-extraction/m-p/514647#M144459</guid>
      <dc:creator>Abhi89</dc:creator>
      <dc:date>2020-08-18T08:41:54Z</dc:date>
    </item>
  </channel>
</rss>

