<?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: Get a long string in a form of array without using Rex in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554434#M91886</link>
    <description>&lt;P&gt;Can you share a sample anonymised event in a code block &amp;lt;/&amp;gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 08:17:12 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-06-04T08:17:12Z</dc:date>
    <item>
      <title>Get a long string in a form of array without using Rex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554198#M91842</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have a field that has the data in this format below :&lt;/P&gt;&lt;P&gt;[ { &lt;SPAN class="t"&gt;data data data &lt;/SPAN&gt;}],[ {data data data}]&lt;/P&gt;&lt;P&gt;As you see the data in the Bar and Curly bracket sets are more than one separated by comma however when I used 'stats count by field' or table field only first set of brackets return, anything after comma is dropped.&lt;/P&gt;&lt;P&gt;With rex I am able to extract the entire string data extracting to new field but I dont want to use Rex on Raw - our company doesnt promote and support it and warn us to not to use it.&lt;/P&gt;&lt;P&gt;I tried delim=, with makemv, mvcombine etc but it only shows data in first set of bar brackets, rex on field also doesnt show data beyond first set of bar brackets.&lt;/P&gt;&lt;P&gt;Is there a way to get the entire string by not using rex on Raw but using field itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 06:03:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554198#M91842</guid>
      <dc:creator>beriwalnishant</dc:creator>
      <dc:date>2021-06-03T06:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get a long string in a form of array without using Rex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554219#M91848</link>
      <description>&lt;P&gt;Why does your company not want you to use the tools available to you?&lt;/P&gt;&lt;P&gt;If you were allowed to use rex, have you been using max_match=0?&lt;/P&gt;&lt;P&gt;If this is really JSON (as your tagging seems to suggest) have you tried using spath?&lt;/P&gt;&lt;P&gt;Do you need the different comma delimited parts to be counted separately, e.g. each part in its own event, if so, have you considered split and mvexpand?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 07:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554219#M91848</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-03T07:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get a long string in a form of array without using Rex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554412#M91881</link>
      <description>&lt;P&gt;Thanks a lot &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;Not sure but they reckon it loads the server so they do not promote using rex, thanks I will try spath but with Rex into new field worked like charm.&lt;BR /&gt;&lt;BR /&gt;It's indeed JSON I forgot to mention it.&amp;nbsp; I did try mvexpand but it doesnt work, for Spath I am unable to work out on what and how to mention in path.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 06:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554412#M91881</guid>
      <dc:creator>beriwalnishant</dc:creator>
      <dc:date>2021-06-04T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get a long string in a form of array without using Rex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554434#M91886</link>
      <description>&lt;P&gt;Can you share a sample anonymised event in a code block &amp;lt;/&amp;gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 08:17:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-a-long-string-in-a-form-of-array-without-using-Rex/m-p/554434#M91886</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-04T08:17:12Z</dc:date>
    </item>
  </channel>
</rss>

