<?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 I am trying to create a multivalue where I should split the data during the pipe symbol. in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/I-am-trying-to-create-a-multivalue-where-I-should-split-the-data/m-p/603502#M13039</link>
    <description>&lt;P&gt;For example if my data is&lt;/P&gt;&lt;P&gt;platform = "operational", task="draft||draft-published",jobstart="2021-06-27T15:46:08.34666||2021-06-27T18:46:08.70000, jobend="2021-06-28T12:86:08.37836||2021-06-28T18:46:08.70990"&lt;/P&gt;&lt;P&gt;I need in the below format. I tried makemv delim="||" task but this happens for only one field. Is there any other option available ?&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;platform&lt;/TD&gt;&lt;TD width="25%"&gt;task&lt;/TD&gt;&lt;TD width="25%"&gt;jobstart&lt;/TD&gt;&lt;TD width="25%"&gt;jobend&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;operational&lt;/TD&gt;&lt;TD width="25%"&gt;draft&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-27T15:46:08.34666&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-28T12:86:08.37836&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;operational&lt;/TD&gt;&lt;TD width="25%"&gt;draft-published&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-27T18:46:08.70000&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-28T18:46:08.70990&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Tue, 28 Jun 2022 06:12:21 GMT</pubDate>
    <dc:creator>gemrose</dc:creator>
    <dc:date>2022-06-28T06:12:21Z</dc:date>
    <item>
      <title>I am trying to create a multivalue where I should split the data during the pipe symbol.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/I-am-trying-to-create-a-multivalue-where-I-should-split-the-data/m-p/603502#M13039</link>
      <description>&lt;P&gt;For example if my data is&lt;/P&gt;&lt;P&gt;platform = "operational", task="draft||draft-published",jobstart="2021-06-27T15:46:08.34666||2021-06-27T18:46:08.70000, jobend="2021-06-28T12:86:08.37836||2021-06-28T18:46:08.70990"&lt;/P&gt;&lt;P&gt;I need in the below format. I tried makemv delim="||" task but this happens for only one field. Is there any other option available ?&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;platform&lt;/TD&gt;&lt;TD width="25%"&gt;task&lt;/TD&gt;&lt;TD width="25%"&gt;jobstart&lt;/TD&gt;&lt;TD width="25%"&gt;jobend&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;operational&lt;/TD&gt;&lt;TD width="25%"&gt;draft&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-27T15:46:08.34666&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-28T12:86:08.37836&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;operational&lt;/TD&gt;&lt;TD width="25%"&gt;draft-published&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-27T18:46:08.70000&lt;/TD&gt;&lt;TD width="25%"&gt;2021-06-28T18:46:08.70990&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 28 Jun 2022 06:12:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/I-am-trying-to-create-a-multivalue-where-I-should-split-the-data/m-p/603502#M13039</guid>
      <dc:creator>gemrose</dc:creator>
      <dc:date>2022-06-28T06:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to create a multivalue where I should split the data during the pipe symbol.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/I-am-trying-to-create-a-multivalue-where-I-should-split-the-data/m-p/603508#M13041</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please try the following (The first two lines are just to mock your data as an example):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval platform = "operational", task="draft||draft-published",jobstart="2021-06-27T15:46:08.34666||2021-06-27T18:46:08.70000", jobend="2021-06-28T12:86:08.37836||2021-06-28T18:46:08.70990" 
| eval jobstart = split(jobstart, "||"), task = split(task,"||"), jobend = split(jobend,"||") 
| eval multivalue = mvzip(mvzip(task, jobstart), jobend) 
| mvexpand multivalue 
| makemv multivalue delim="," 
| eval task = mvindex(multivalue, 0), jobstart = mvindex(multivalue, 1), jobend = mvindex(multivalue, -1) 
| table platform, task, jobstart, jobend&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Jun 2022 06:23:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/I-am-trying-to-create-a-multivalue-where-I-should-split-the-data/m-p/603508#M13041</guid>
      <dc:creator>danielcj</dc:creator>
      <dc:date>2022-06-28T06:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to create a multivalue where I should split the data during the pipe symbol.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/I-am-trying-to-create-a-multivalue-where-I-should-split-the-data/m-p/603580#M13047</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213178"&gt;@danielcj&lt;/a&gt;. your solution helped me a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 11:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/I-am-trying-to-create-a-multivalue-where-I-should-split-the-data/m-p/603580#M13047</guid>
      <dc:creator>gemrose</dc:creator>
      <dc:date>2022-06-28T11:57:53Z</dc:date>
    </item>
  </channel>
</rss>

