<?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 Multi-value field grouping in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multi-value-field-grouping/m-p/552675#M156887</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm sending AWS SSM patching logs to splunk.&amp;nbsp; I'm transforming these via a Lambda and getting the following events: (snipped for brevity)&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;{
   &amp;lt;SNIP&amp;gt;
   missing_count: 0
   not_applicable_count: 1762
   operation_end_time: 2021-05-18T16:08:27.1678125Z
   operation_start_time: 2021-05-18T16:00:29.0000000Z
   operation_type: Install
   other_non_compliant_count: 0
   owner_information:
   patch_group: test-grp6-wed
   patches: [
     [
       KB5001879
       Yes
       Success
     ]
     [
       KB890830
       Yes
       Success
     ]
   ]
}&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;BR /&gt;What I'm after is table selected fields like server name, start/finish times etc. and to get the patches column in the format (space or comma seperated on 2 lines with the same row as the rest of the row for that server)&lt;BR /&gt;KB5001879, Yes, Success&lt;BR /&gt;KB890830, Yes, Success&lt;BR /&gt;&lt;BR /&gt;I can extract the field using the following:&lt;BR /&gt;index="aws" sourcetype="aws:ssmpatchinglogs"&lt;BR /&gt;| spath patches{}{} output=patches&lt;BR /&gt;&lt;BR /&gt;I've tried some things with mvexpand, streamstats and mvindex (which didn't recognise the command - we're on splunk Version:8.0.1 Build:6db836e2fb9e).&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 04:29:29 GMT</pubDate>
    <dc:creator>boffhead</dc:creator>
    <dc:date>2021-05-24T04:29:29Z</dc:date>
    <item>
      <title>Multi-value field grouping</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multi-value-field-grouping/m-p/552675#M156887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm sending AWS SSM patching logs to splunk.&amp;nbsp; I'm transforming these via a Lambda and getting the following events: (snipped for brevity)&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;{
   &amp;lt;SNIP&amp;gt;
   missing_count: 0
   not_applicable_count: 1762
   operation_end_time: 2021-05-18T16:08:27.1678125Z
   operation_start_time: 2021-05-18T16:00:29.0000000Z
   operation_type: Install
   other_non_compliant_count: 0
   owner_information:
   patch_group: test-grp6-wed
   patches: [
     [
       KB5001879
       Yes
       Success
     ]
     [
       KB890830
       Yes
       Success
     ]
   ]
}&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;BR /&gt;What I'm after is table selected fields like server name, start/finish times etc. and to get the patches column in the format (space or comma seperated on 2 lines with the same row as the rest of the row for that server)&lt;BR /&gt;KB5001879, Yes, Success&lt;BR /&gt;KB890830, Yes, Success&lt;BR /&gt;&lt;BR /&gt;I can extract the field using the following:&lt;BR /&gt;index="aws" sourcetype="aws:ssmpatchinglogs"&lt;BR /&gt;| spath patches{}{} output=patches&lt;BR /&gt;&lt;BR /&gt;I've tried some things with mvexpand, streamstats and mvindex (which didn't recognise the command - we're on splunk Version:8.0.1 Build:6db836e2fb9e).&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 04:29:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multi-value-field-grouping/m-p/552675#M156887</guid>
      <dc:creator>boffhead</dc:creator>
      <dc:date>2021-05-24T04:29:29Z</dc:date>
    </item>
  </channel>
</rss>

