<?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: How to split multiple lines of data into a single individual line in splunk using \n? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564361#M196605</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval Prod=split(Prod,"
")
| mvexpand Prod&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 23 Aug 2021 14:43:14 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-08-23T14:43:14Z</dc:date>
    <item>
      <title>How to split multiple lines of data into a single individual line in splunk using \n?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564358#M196602</link>
      <description>&lt;P&gt;As i mentioned below prod column has multiple values and i want to split it based on \n next line command and get the output as mentioned in output image.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shan_0-1629728821294.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15671i3D8F700AD5D24B12/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shan_0-1629728821294.png" alt="Shan_0-1629728821294.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shan_1-1629728934077.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15672iC782A229CA3DD92B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shan_1-1629728934077.png" alt="Shan_1-1629728934077.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance ..&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 14:34:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564358#M196602</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2021-08-23T14:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple lines of data into a single individual line in splunk using \n?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564361#M196605</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval Prod=split(Prod,"
")
| mvexpand Prod&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Aug 2021 14:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564361#M196605</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-23T14:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple lines of data into a single individual line in splunk using \n?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564370#M196607</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your input. But its not working .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shan_1-1629731597744.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15675iDFCB7BF1EE00C48D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shan_1-1629731597744.png" alt="Shan_1-1629731597744.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 15:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564370#M196607</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2021-08-23T15:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple lines of data into a single individual line in splunk using \n?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564375#M196608</link>
      <description>&lt;P&gt;The split has the newline in quotes - hint: use &amp;lt;shift&amp;gt;&amp;lt;return&amp;gt; to insert into search&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 15:24:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564375#M196608</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-23T15:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple lines of data into a single individual line in splunk using \n?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564389#M196610</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sorry, I'm not able to follow you. Can you please give me an example query..&lt;BR /&gt;&lt;BR /&gt;Thanks in advance ..&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 16:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564389#M196610</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2021-08-23T16:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple lines of data into a single individual line in splunk using \n?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564401#M196616</link>
      <description>&lt;PRE&gt;| eval Prod=split(Prod,"
")
| mvexpand Prod&lt;/PRE&gt;&lt;P&gt;If this is not working, can you share your search in the same way i.e. in a code block &amp;lt;/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 17:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564401#M196616</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-23T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple lines of data into a single individual line in splunk using \n?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564469#M196636</link>
      <description>&lt;P class="lia-align-justify"&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Thanks for your input . As i mentioned Split not helped me.&lt;BR /&gt;I can able to achieve what i expected with below solution.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makemv tokenizer="([^\r\n]+)(\r\n)?" Prod
| mvexpand Prod&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 06:26:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-multiple-lines-of-data-into-a-single-individual/m-p/564469#M196636</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2021-08-24T06:26:17Z</dc:date>
    </item>
  </channel>
</rss>

