<?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: Split correspondence of multi value fields in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606595#M13407</link>
    <description>These two values are the log content automatically extracted by "add on". The corresponding value of "Recipient" is a field, and the corresponding value is the recipient connected by multiple space characters. The complete value of "status" is this content</description>
    <pubDate>Fri, 22 Jul 2022 06:26:28 GMT</pubDate>
    <dc:creator>spl_stu</dc:creator>
    <dc:date>2022-07-22T06:26:28Z</dc:date>
    <item>
      <title>How to Split correspondence of multi value fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606592#M13404</link>
      <description>&lt;P&gt;&lt;FONT&gt;Please help answer this question, thank you：&lt;BR /&gt;&lt;BR /&gt;For these two multivalued fields, you want the value in the "Recipient" field to correspond to the value in the "recipient_status". If the receipt is successful, it corresponds to ";", If it fails, it corresponds to "'550 5.1.1 resolver.adr.recipnotfound, not found'". Is there a way to segment the values of these two fields and make one-to-one correspondence?&lt;BR /&gt;&lt;BR /&gt;The following are the values corresponding to these two fields&lt;BR /&gt;&lt;SPAN class=""&gt;Recipient=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;@000.com&lt;/SPAN&gt; &lt;SPAN class=""&gt;@123.com&lt;/SPAN&gt; &lt;SPAN class=""&gt;@456.com&lt;/SPAN&gt; &lt;SPAN class=""&gt;@789.com&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;recipient_status=&lt;/SPAN&gt;&lt;SPAN&gt;";;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;550&lt;/SPAN&gt; &lt;SPAN class=""&gt;5.1.1&lt;/SPAN&gt; &lt;SPAN class=""&gt;RESOLVER.ADR.RecipNotFound&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;';"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 14:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606592#M13404</guid>
      <dc:creator>spl_stu</dc:creator>
      <dc:date>2022-07-22T14:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Split correspondence of multi value fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606594#M13406</link>
      <description>&lt;P&gt;The recipient appears to be space delimited - how are the status values delimited?&lt;/P&gt;&lt;P&gt;Is what you have given as your example exactly as it is in the raw event or are these representations of the event field post extraction?&lt;/P&gt;&lt;P&gt;Has the data been extracted to a multi-value field (in the Splunk sense) already or are you looking for help to do that extraction?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 06:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606594#M13406</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-07-22T06:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Split correspondence of multi value fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606595#M13407</link>
      <description>These two values are the log content automatically extracted by "add on". The corresponding value of "Recipient" is a field, and the corresponding value is the recipient connected by multiple space characters. The complete value of "status" is this content</description>
      <pubDate>Fri, 22 Jul 2022 06:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606595#M13407</guid>
      <dc:creator>spl_stu</dc:creator>
      <dc:date>2022-07-22T06:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Split correspondence of multi value fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606597#M13408</link>
      <description>&lt;P&gt;Try something like this (this assumes that the status does not have a semi-colon in)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=recipient max_match=0 "(?&amp;lt;rcpt&amp;gt;\S+)"
| rex recipient_status max_match=0 "(?i)(?&amp;lt;rcptstatus&amp;gt;(;|'550 5\.1\.1 resolver\.adr\.recipnotfound, not found'))"
| eval recipient_plus_status=mvzip(rcpt, rcptstatus)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 Jul 2022 06:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606597#M13408</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-07-22T06:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Split correspondence of multi value fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606598#M13409</link>
      <description>OK, thank you very much for your answer. I'll test it now</description>
      <pubDate>Fri, 22 Jul 2022 06:43:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606598#M13409</guid>
      <dc:creator>spl_stu</dc:creator>
      <dc:date>2022-07-22T06:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Split correspondence of multi value fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606602#M13412</link>
      <description>&lt;P&gt;&lt;BR /&gt;Thank you very much for your answer. My problem has been solved&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 07:17:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-Split-correspondence-of-multi-value-fields/m-p/606602#M13412</guid>
      <dc:creator>spl_stu</dc:creator>
      <dc:date>2022-07-22T07:17:59Z</dc:date>
    </item>
  </channel>
</rss>

