<?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 comma separated values in single event and make each value as one row of table with individual values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656363#M226707</link>
    <description>&lt;P&gt;I'm confused ... why have you not just done&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval "Sequence Number"=split('Message Text', ",")
| table Sequence Number&lt;/LI-CODE&gt;&lt;P&gt;as advised earlier? Substitute the actual field name for Message Text above&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 06:27:07 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-09-01T06:27:07Z</dc:date>
    <item>
      <title>How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656067#M226597</link>
      <description>&lt;P&gt;If I am having list of comma separated numbers in single splunk&amp;nbsp; event field:&lt;/P&gt;&lt;P&gt;I am having too many event fields like below,How Can I split these comma separated values and display them in table format I mentioned below?&lt;/P&gt;&lt;P&gt;Any suggestion here?&lt;/P&gt;&lt;P&gt;Sequence Numbers processed during this transaction : 00000000000000872510,00000000000000872511,00000000000000872512,00000000000000872513,00000000000000872514,00000000000000872515,00000000000000872516,00000000000000872517,00000000000000872518,00000000000000872519,00000000000000872520,00000000000000872521,00000000000000872522,00000000000000872523,00000000000000872524,00000000000000872525,00000000000000872526,00000000000000872527,00000000000000872528,00000000000000872529,00000000000000872530,00000000000000872531,00000000000000872532,00000000000000872533&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How Can I split thiese comma separated values and display them individually in table like:&lt;/P&gt;&lt;P&gt;00000000000000872510&lt;/P&gt;&lt;P&gt;00000000000000872511&lt;/P&gt;&lt;P&gt;00000000000000872512&lt;/P&gt;&lt;P&gt;00000000000000872513&lt;/P&gt;&lt;P&gt;00000000000000872514&lt;/P&gt;&lt;P&gt;00000000000000872515&lt;/P&gt;&lt;P&gt;00000000000000872516&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.likewise till&lt;/P&gt;&lt;P&gt;00000000000000872533&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 09:07:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656067#M226597</guid>
      <dc:creator>Naga1</dc:creator>
      <dc:date>2023-08-30T09:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: SPLITTING COMMA SEPARATED VALUES IN SINGLE EVENT AND MAKE EACH VALUES AS ONE ROW OF TABLE WITH INDIVIDUAL VALUES</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656068#M226598</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257210"&gt;@Naga1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try the approach of my example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval my_field="00000000000000872510,00000000000000872511,00000000000000872512,00000000000000872513,00000000000000872514,00000000000000872515,00000000000000872516,00000000000000872517,00000000000000872518,00000000000000872519,00000000000000872520,00000000000000872521,00000000000000872522,00000000000000872523,00000000000000872524,00000000000000872525,00000000000000872526,00000000000000872527,00000000000000872528,00000000000000872529,00000000000000872530,00000000000000872531,00000000000000872532,00000000000000872533"
| makemv delim="," my_field
| fields - _time
| mvexpand my_field&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 08:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656068#M226598</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-30T08:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656071#M226600</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;Thanks for your approach,&lt;BR /&gt;I appreciate it , and&amp;nbsp; i have another question ,&lt;BR /&gt;if number's are Dynamic mean's how we can&amp;nbsp;&lt;SPAN&gt;split comma separated values and display them individually in table&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 09:14:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656071#M226600</guid>
      <dc:creator>Kingsly007</dc:creator>
      <dc:date>2023-08-30T09:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656072#M226601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260125"&gt;@Kingsly007&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please, next time, open a new question, even if on the same topic: you'll have a faster and probably better answer to your question!&lt;/P&gt;&lt;P&gt;in addition, at the end of the analysis, you can accept the answer and give more information for the other people of Community.&lt;/P&gt;&lt;P&gt;Anyway, could you better describe what you mean with "Dynamic"?&lt;/P&gt;&lt;P&gt;if you have comma divided values, the number of them isn't relevant.&lt;/P&gt;&lt;P&gt;Could you share a sample of your logs?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 09:19:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656072#M226601</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-30T09:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656073#M226602</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352" target="_blank"&gt;@gcusello&lt;/A&gt;&amp;nbsp;,&lt;BR /&gt;Regarding as per Subject,&lt;/P&gt;&lt;P&gt;Sequence number will be differ on every transaction log's ,&lt;BR /&gt;so how can we write log's for&amp;nbsp;&lt;BR /&gt;Values are all Dynamic ( not a same numbers on every transaction's)&amp;nbsp;&lt;BR /&gt;Every transaction logs( sequence number is different )&lt;/P&gt;&lt;P&gt;1 to n(last number) if missed any number's between&amp;nbsp; 1 to N,&lt;BR /&gt;can you help on this, really thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 09:23:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656073#M226602</guid>
      <dc:creator>Kingsly007</dc:creator>
      <dc:date>2023-08-30T09:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656078#M226605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260125" target="_blank"&gt;@Kingsly007&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Anyway, it's still not clear what you mean with "Dynamic"?&lt;/P&gt;&lt;P&gt;if you have comma divided values, the number of them isn't relevant.&lt;/P&gt;&lt;P&gt;Could you share a sample of your logs?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 10:02:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656078#M226605</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-30T10:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656176#M226639</link>
      <description>&lt;P&gt;Are all these numbers in a single field or part of a larger raw event. Assuming these are in a single field in the event, then simply&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval numbers=split(your_big_long_numbers_field, ",")&lt;/LI-CODE&gt;&lt;P&gt;which will make a new field called numbers which will contain a multivalue field with all your split numbers in.&lt;/P&gt;&lt;P&gt;If you then want to make a new row for each of those numbers, use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| mvexpand numbers&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 31 Aug 2023 00:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656176#M226639</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-31T00:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656189#M226642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; &amp;amp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the prompt responses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You both gave answers for static set of numbers. What if this set of field values are dynamically changing and combined with string as well.&lt;/P&gt;&lt;P&gt;In that case,How Can I separate this dynamic set of numbers from string and display them individually instead of comma separated in table format.&lt;/P&gt;&lt;P&gt;We crossed half of the solution,You already responded to split comma separated values and display them in table format.&lt;/P&gt;&lt;P&gt;I need to solution for below two case:&lt;/P&gt;&lt;P&gt;1. What if this set of numbers are dynamically logging into splunk using one fields(MessageText)?&lt;/P&gt;&lt;P&gt;2. These dynamic set of numbers combined with text like(&lt;SPAN&gt;Sequence Numbers processed during this transaction &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; in the field (MessageText).How can I separate only numbers and display them in above mentioned format like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;00000000000000872510&lt;/P&gt;&lt;P&gt;00000000000000872511&lt;/P&gt;&lt;P&gt;00000000000000872512&lt;/P&gt;&lt;P&gt;00000000000000872513&lt;/P&gt;&lt;P&gt;00000000000000872514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead of&amp;nbsp;&lt;SPAN&gt;00000000000000872510,00000000000000872511,00000000000000872512,00000000000000872513,00000000000000872514 (these set of numbers are not static keeps on changing for each transaction and logging&amp;nbsp;into splunk as individual event in (message text) field.)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 05:20:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656189#M226642</guid>
      <dc:creator>Naga1</dc:creator>
      <dc:date>2023-08-31T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656190#M226643</link>
      <description>&lt;P&gt;SAMPLE LOGS:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Create Timestamp&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;2023-08-31T04:45:02.212Z&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/Create Timestamp&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Message Text&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Sequence&lt;/SPAN&gt; &lt;SPAN class=""&gt;Numbers&lt;/SPAN&gt; &lt;SPAN class=""&gt;processed&lt;/SPAN&gt; &lt;SPAN class=""&gt;during&lt;/SPAN&gt; &lt;SPAN class=""&gt;this&lt;/SPAN&gt; &lt;SPAN class=""&gt;transaction&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;00000000000000875119&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;00000000000000875120&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;00000000000000875121&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;00000000000000875122&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;00000000000000875123&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;00000000000000875124&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/Message Text&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;Create Timestamp&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;2023-08-31T03:45:02.083Z&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Create Timestamp&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;Message Text&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;Sequence&lt;/SPAN&gt; &lt;SPAN class=""&gt;Numbers&lt;/SPAN&gt; &lt;SPAN class=""&gt;processed&lt;/SPAN&gt; &lt;SPAN class=""&gt;during&lt;/SPAN&gt; &lt;SPAN class=""&gt;this&lt;/SPAN&gt; &lt;SPAN class=""&gt;transaction&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;00000000000000875115&lt;/SPAN&gt;,&lt;SPAN class=""&gt;00000000000000875116&lt;/SPAN&gt;,&lt;SPAN class=""&gt;00000000000000875117&lt;/SPAN&gt;,&lt;SPAN class=""&gt;00000000000000875118&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Message Text&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;Create Timestamp&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;2023-08-31T02:45:01.909Z&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Create Timestamp&lt;/SPAN&gt;&amp;gt; &amp;lt;&lt;SPAN class=""&gt;Message Text&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;Sequence&lt;/SPAN&gt; &lt;SPAN class=""&gt;Numbers&lt;/SPAN&gt; &lt;SPAN class=""&gt;processed&lt;/SPAN&gt; &lt;SPAN class=""&gt;during&lt;/SPAN&gt; &lt;SPAN class=""&gt;this&lt;/SPAN&gt; &lt;SPAN class=""&gt;transaction&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;00000000000000875114&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Message Text&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;Create Timestamp&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;2023-08-31T01:45:02.703Z&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Create Timestamp&lt;/SPAN&gt;&amp;gt; &amp;lt;&lt;SPAN class=""&gt;Message Text&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;Sequence&lt;/SPAN&gt; &lt;SPAN class=""&gt;Numbers&lt;/SPAN&gt; &lt;SPAN class=""&gt;processed&lt;/SPAN&gt; &lt;SPAN class=""&gt;during&lt;/SPAN&gt; &lt;SPAN class=""&gt;this&lt;/SPAN&gt; &lt;SPAN class=""&gt;transaction&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;00000000000000875112&lt;/SPAN&gt;,&lt;SPAN class=""&gt;00000000000000875113&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Message Text&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 05:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656190#M226643</guid>
      <dc:creator>Naga1</dc:creator>
      <dc:date>2023-08-31T05:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656195#M226645</link>
      <description>&lt;P&gt;Assuming you have already extracted Message Text into a field called MessageText, try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=MessageText max_match=0 "(?&amp;lt;SequenceNumber&amp;gt;\d+)"
| mvexpand SequenceNumber
| table SequenceNumber&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 31 Aug 2023 06:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656195#M226645</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-31T06:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656197#M226646</link>
      <description>&lt;P&gt;Your logs look like compliant XML. &amp;nbsp;I am guessing that you already have the field "Message Text". &amp;nbsp;If so, you can apply&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;'s technique&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval SequenceNumber = mvindex(split('Message Text', " : "), 1)
| eval SequenceNumber = split(SequenceNumber, ",")
| mvexpand SequenceNumber&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Replace 'Message Text' with MessageText if that's the field name.) &amp;nbsp;Your sample logs should give you something like&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SequenceNumber&lt;/TD&gt;&lt;TD&gt;_time&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875119&lt;/TD&gt;&lt;TD&gt;2023-08-30 21:45:02.212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875120&lt;/TD&gt;&lt;TD&gt;2023-08-30 21:45:02.212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875121&lt;/TD&gt;&lt;TD&gt;2023-08-30 21:45:02.212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875122&lt;/TD&gt;&lt;TD&gt;2023-08-30 21:45:02.212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875123&lt;/TD&gt;&lt;TD&gt;2023-08-30 21:45:02.212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875124&lt;/TD&gt;&lt;TD&gt;2023-08-30 21:45:02.212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875115&lt;/TD&gt;&lt;TD&gt;2023-08-30 20:45:02.083&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875116&lt;/TD&gt;&lt;TD&gt;2023-08-30 20:45:02.083&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875117&lt;/TD&gt;&lt;TD&gt;2023-08-30 20:45:02.083&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875118&lt;/TD&gt;&lt;TD&gt;2023-08-30 20:45:02.083&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875114&lt;/TD&gt;&lt;TD&gt;2023-08-30 19:45:01.909&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875112&lt;/TD&gt;&lt;TD&gt;2023-08-30 18:45:02.703&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;00000000000000875113&lt;/TD&gt;&lt;TD&gt;2023-08-30 18:45:02.703&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here is an emulation that you can play with and compare with real data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval data = split("&amp;lt;Create Timestamp&amp;gt;2023-08-31T04:45:02.212Z&amp;lt;/Create Timestamp&amp;gt;
&amp;lt;Message Text&amp;gt;Sequence Numbers processed during this transaction : 00000000000000875119,00000000000000875120,00000000000000875121,00000000000000875122,00000000000000875123,00000000000000875124&amp;lt;/Message Text&amp;gt;

&amp;lt;Create Timestamp&amp;gt;2023-08-31T03:45:02.083Z&amp;lt;/Create Timestamp&amp;gt;
&amp;lt;Message Text&amp;gt;Sequence Numbers processed during this transaction : 00000000000000875115,00000000000000875116,00000000000000875117,00000000000000875118&amp;lt;/Message Text&amp;gt;

&amp;lt;Create Timestamp&amp;gt;2023-08-31T02:45:01.909Z&amp;lt;/Create Timestamp&amp;gt;
&amp;lt;Message Text&amp;gt;Sequence Numbers processed during this transaction : 00000000000000875114&amp;lt;/Message Text&amp;gt;

&amp;lt;Create Timestamp&amp;gt;2023-08-31T01:45:02.703Z&amp;lt;/Create Timestamp&amp;gt;
&amp;lt;Message Text&amp;gt;Sequence Numbers processed during this transaction : 00000000000000875112,00000000000000875113&amp;lt;/Message Text&amp;gt;", "

")
| mvexpand data
| rename data as _raw
| spath
| rename "Create./Create.Message" AS "Message Text"
| eval _time = strptime(Create, "%FT%H:%M:%S.%3Q%Z")
| rename Create AS "Create Timestamp"
``` data emulation above ```&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 06:38:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656197#M226646</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-08-31T06:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656346#M226700</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257210"&gt;@Naga1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The split command is not for a static set of numbers, it will split whatever 'dynamic' numbers you have, whether that is&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00000000000000872510,00000000000000872511,00000000000000872512,00000000000000872513,00000000000000872514&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00000000000000999995,00000000000000999996,00000000000000999997,00000000000000999998,00000000000000999999&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so perhaps you can give a clearer example of what your data might look like so we can understand what you mean by dynamic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you trying to say that you have a single field called MessageText that may have&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ABC,12345,XYZ,98765,Hello,444444,Goodbye,777777&lt;/P&gt;&lt;P&gt;and you want to extract all numeric sequences from it?&lt;/P&gt;&lt;P&gt;If so, give some examples of what the data will look like, so we can work out a suitable matching/extraction pattern&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 00:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656346#M226700</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-09-01T00:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656351#M226702</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Example&lt;BR /&gt;All number's are Numeric only&amp;nbsp;&lt;/P&gt;&lt;P&gt;message text fields from&amp;nbsp; 1st event:&lt;BR /&gt;Sequence numbers&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;00000000000000872510,00000000000000872511,00000000000000872512,00000000000000872513,00000000000000872514&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;message text fields from&amp;nbsp; 2nd event:&lt;BR /&gt;Sequence numbers&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;00000000000000872515,00000000000000872516,00000000000000872518,00000000000000872519,00000000000000872520&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;From the logs&amp;nbsp;&lt;STRONG&gt;00000000000000872517 was missing so need to check missing of sequence&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;that is&amp;nbsp; condition actually..&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;just need to check number is to be correct format ( one by one) or if its not correct need to throw alerts&lt;BR /&gt;&lt;BR /&gt;please suggest using regex expression&amp;nbsp;for this issue,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below query i can able take first value from mentioned logs(events)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;| rex field= cip:&amp;nbsp; Audit Message . Message Text"\D+(?&amp;lt;Sequence Number&amp;gt;\d+)"&amp;nbsp;&lt;BR /&gt;| table Sequence Number&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Output :&lt;BR /&gt;&lt;STRONG&gt;00000000000000872510&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000000000000872515&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;but i need whole sequence&amp;nbsp;number in statistic table&amp;nbsp;&amp;nbsp;one by one,&lt;BR /&gt;Hope u understood&amp;nbsp;&lt;BR /&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 05:09:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656351#M226702</guid>
      <dc:creator>Kingsly007</dc:creator>
      <dc:date>2023-09-01T05:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656363#M226707</link>
      <description>&lt;P&gt;I'm confused ... why have you not just done&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval "Sequence Number"=split('Message Text', ",")
| table Sequence Number&lt;/LI-CODE&gt;&lt;P&gt;as advised earlier? Substitute the actual field name for Message Text above&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 06:27:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656363#M226707</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-09-01T06:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656365#M226709</link>
      <description>&lt;P&gt;I suspect also that you did not post your message text field, as that rex statement would not produce the results you gave due to \D+&lt;/P&gt;&lt;P&gt;Can you post your message text field completely&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 06:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656365#M226709</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-09-01T06:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656960#M226911</link>
      <description>&lt;P&gt;The pattern may be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sequence Numbers:&lt;SPAN&gt;00000000000000872510,00000000000000872511,00000000000000872512,00000000000000872513,00000000000000872514&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I need to extract only numbers without comma and display them in table like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00000000000000872510&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00000000000000872511&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00000000000000872512&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00000000000000872513&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00000000000000872514&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 13:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656960#M226911</guid>
      <dc:creator>Naga2</dc:creator>
      <dc:date>2023-09-07T13:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656961#M226912</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;One more question , How Can I put logic to find missing number in this sequence of dynamically changing numbers:&lt;BR /&gt;It has no logic except it increase one by one.Is there any way to build logic for this increase by one number and Need to trigger an alert if it not increase by one- which indicates number missed.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;00000000000000875115,00000000000000875116,00000000000000875118&lt;/LI-CODE&gt;&lt;P&gt;In this case&amp;nbsp;00000000000000875117 is missing&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;00000000000000875117&lt;/LI-CODE&gt;&lt;P&gt;00000000000000875117&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 13:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656961#M226912</guid>
      <dc:creator>Naga2</dc:creator>
      <dc:date>2023-09-07T13:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656962#M226913</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp; &amp;amp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;One more question , How Can I put logic to find missing number in this sequence of dynamically changing numbers:&lt;BR /&gt;It has no logic except it increase one by one. Is there any way to build logic for this increase by one number and Need to trigger an alert if it not increase by one- which indicates number missed.&lt;/P&gt;&lt;PRE&gt;00000000000000875115,00000000000000875116,00000000000000875118&lt;/PRE&gt;&lt;P&gt;In this case&amp;nbsp;00000000000000875117 is missing&lt;/P&gt;&lt;PRE&gt;00000000000000875117&lt;/PRE&gt;&lt;P&gt;00000000000000875117&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 13:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656962#M226913</guid>
      <dc:creator>Naga2</dc:creator>
      <dc:date>2023-09-07T13:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to split comma separated values in single event and make each value as one row of table with individual values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656974#M226917</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=MessageText max_match=0 "(?&amp;lt;SequenceNumber&amp;gt;\d+)"
| table SequenceNumber
| eval fullSequence = mvrange(tonumber(mvindex(SequenceNumber,0)),tonumber(mvindex(SequenceNumber,-1))+1)
| eval missing=mvmap(fullSequence,if(isnull(mvfind(SequenceNumber,fullSequence)),fullSequence,NULL()))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Sep 2023 14:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-comma-separated-values-in-single-event-and-make/m-p/656974#M226917</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-07T14:45:21Z</dc:date>
    </item>
  </channel>
</rss>

