<?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 Multiple fields from json array in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-fields-from-json-array/m-p/331797#M93089</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;
How to split JSON array elements (&lt;EM&gt;value&lt;/EM&gt;)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
  "id": 4321,
  "value": [
   5, 6, 7, 8
  ]
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;from multivalue field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id     | value
4321     5 6 7 8
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to multiple fileds with some index remaining one event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id     | value_0 | value_1 | value_2 | value_3
4321     5         6         7         8
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 13:30:13 GMT</pubDate>
    <dc:creator>yurykiselev</dc:creator>
    <dc:date>2018-04-11T13:30:13Z</dc:date>
    <item>
      <title>Multiple fields from json array</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-fields-from-json-array/m-p/331797#M93089</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;
How to split JSON array elements (&lt;EM&gt;value&lt;/EM&gt;)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
  "id": 4321,
  "value": [
   5, 6, 7, 8
  ]
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;from multivalue field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id     | value
4321     5 6 7 8
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to multiple fileds with some index remaining one event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id     | value_0 | value_1 | value_2 | value_3
4321     5         6         7         8
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 13:30:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-fields-from-json-array/m-p/331797#M93089</guid>
      <dc:creator>yurykiselev</dc:creator>
      <dc:date>2018-04-11T13:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields from json array</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-fields-from-json-array/m-p/331798#M93090</link>
      <description>&lt;P&gt;Can you try :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makemv delim=" " value | mvexpand value
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Apr 2018 13:33:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-fields-from-json-array/m-p/331798#M93090</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-11T13:33:34Z</dc:date>
    </item>
  </channel>
</rss>

