<?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 How to split different field values into separate fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-different-field-values-into-separate-fields/m-p/619804#M215404</link>
    <description>&lt;P&gt;Hello Everyone, I have a field in this format and this information is fetched from a json array.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;Label&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;apple 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;apple 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;apple 3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;banana 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;banana 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;banana 3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I split this in&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;Apples&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Bananas&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;apple 1&amp;nbsp;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;banana 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;apple 2&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;banana 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;apple 3&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;banana 3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not able to identify what character to use in the split function.&lt;/SPAN&gt;I have read various solutions on this page but none of them match this situation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help you provide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 07:24:43 GMT</pubDate>
    <dc:creator>anuhya_b</dc:creator>
    <dc:date>2022-11-07T07:24:43Z</dc:date>
    <item>
      <title>How to split different field values into separate fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-different-field-values-into-separate-fields/m-p/619804#M215404</link>
      <description>&lt;P&gt;Hello Everyone, I have a field in this format and this information is fetched from a json array.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;Label&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;apple 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;apple 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;apple 3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;banana 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;banana 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;banana 3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I split this in&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;Apples&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Bananas&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;apple 1&amp;nbsp;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;banana 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;apple 2&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;banana 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;apple 3&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;banana 3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not able to identify what character to use in the split function.&lt;/SPAN&gt;I have read various solutions on this page but none of them match this situation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help you provide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 07:24:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-different-field-values-into-separate-fields/m-p/619804#M215404</guid>
      <dc:creator>anuhya_b</dc:creator>
      <dc:date>2022-11-07T07:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to split different field values into separate fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-different-field-values-into-separate-fields/m-p/619810#M215408</link>
      <description>&lt;P&gt;Given that you cannot identify the split character, and you have the benefit of being able to see the data, how do you expect us to be able to do any better?&lt;/P&gt;&lt;P&gt;Having said that, assuming the split character is a white space, try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=Label "(?&amp;lt;fruit&amp;gt;\S+)"
| eval {fruit}=Label
| streamstats count as row by fruit
| stats values(*) as * by row
| fields - row fruit Label&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 07 Nov 2022 08:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-different-field-values-into-separate-fields/m-p/619810#M215408</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-11-07T08:12:10Z</dc:date>
    </item>
  </channel>
</rss>

