<?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 String sentence into one row? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497128#M84753</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a fields in my index named MESSAGE. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[BBB] ProcessGenererIdentifiantLMKRImpl/genererIdentifiantLMKR - CHECK OK - codeClient= 98451635- codeCanal= III- identifiantLMKR= JHF7UNJK6ZJNEZFI0873NFI373UBF389, nomMethode=genererIdentifiantLMKR
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The result that i want is &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8298i5D1013F73FF6C07D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 13:48:22 GMT</pubDate>
    <dc:creator>tahasefiani</dc:creator>
    <dc:date>2020-01-28T13:48:22Z</dc:date>
    <item>
      <title>How to split String sentence into one row?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497128#M84753</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a fields in my index named MESSAGE. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[BBB] ProcessGenererIdentifiantLMKRImpl/genererIdentifiantLMKR - CHECK OK - codeClient= 98451635- codeCanal= III- identifiantLMKR= JHF7UNJK6ZJNEZFI0873NFI373UBF389, nomMethode=genererIdentifiantLMKR
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The result that i want is &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8298i5D1013F73FF6C07D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 13:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497128#M84753</guid>
      <dc:creator>tahasefiani</dc:creator>
      <dc:date>2020-01-28T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to split String sentence into one row?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497129#M84754</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval message="[BBB] ProcessGenererIdentifiantLMKRImpl/genererIdentifiantLMKR - CHECK OK - codeClient= 98451635- codeCanal= III- identifiantLMKR= JHF7UNJK6ZJNEZFI0873NFI373UBF389, nomMethode=genererIdentifiantLMKR"
| eval _raw=split(replace(replace(message," ",""),",","-"),"-")
| kv
| table codeClient identifiantLMKR
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jan 2020 14:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497129#M84754</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-28T14:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to split String sentence into one row?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497130#M84755</link>
      <description>&lt;P&gt;@tahasefiani &lt;/P&gt;

&lt;P&gt;Can you please try this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH | rex field=MESSAGE "codeClient=\s(?&amp;lt;codeClient&amp;gt;\d+[^-]).*identifiantLMKR=\s(?&amp;lt;identifiantLMKR&amp;gt;\w+)"  
| table codeClient identifiantLMKR
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Sample search:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval MESSAGE="[BBB] ProcessGenererIdentifiantLMKRImpl/genererIdentifiantLMKR - CHECK OK - codeClient= 98451635- codeCanal= III- identifiantLMKR= JHF7UNJK6ZJNEZFI0873NFI373UBF389, nomMethode=genererIdentifiantLMKR" 
| rex field=MESSAGE "codeClient=\s(?&amp;lt;codeClient&amp;gt;\d+[^-]).*identifiantLMKR=\s(?&amp;lt;identifiantLMKR&amp;gt;\w+)"  
| table codeClient identifiantLMKR
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jan 2020 14:08:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497130#M84755</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2020-01-28T14:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to split String sentence into one row?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497131#M84756</link>
      <description>&lt;P&gt;it returns me empty columns&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 09:14:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-String-sentence-into-one-row/m-p/497131#M84756</guid>
      <dc:creator>tahasefiani</dc:creator>
      <dc:date>2020-01-29T09:14:08Z</dc:date>
    </item>
  </channel>
</rss>

