<?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: Split a single field into two fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Split-a-single-field-into-two-fields/m-p/382317#M169622</link>
    <description>&lt;P&gt;Thank you cmerriman :). It worked for me&lt;/P&gt;</description>
    <pubDate>Mon, 07 May 2018 04:32:18 GMT</pubDate>
    <dc:creator>Allampally</dc:creator>
    <dc:date>2018-05-07T04:32:18Z</dc:date>
    <item>
      <title>Split a single field into two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Split-a-single-field-into-two-fields/m-p/382315#M169620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a raw_data as below&lt;BR /&gt;
&lt;STRONG&gt;[APP=XYZ] [m=ServiceName.MethodName] [SLA=100]&lt;/STRONG&gt;&lt;BR /&gt;
Splunk already generated a filed with the name 'm".&lt;BR /&gt;
I want to split this field into two separate fields(m1 &amp;amp; m2) as below&lt;BR /&gt;
m1=ServiceName&lt;BR /&gt;
m2=MethodName&lt;/P&gt;

&lt;P&gt;Could anyone help me to do so ?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 11:30:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Split-a-single-field-into-two-fields/m-p/382315#M169620</guid>
      <dc:creator>Allampally</dc:creator>
      <dc:date>2018-05-04T11:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Split a single field into two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Split-a-single-field-into-two-fields/m-p/382316#M169621</link>
      <description>&lt;P&gt;without knowing what the data actually looks like, you could try this in the search string:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rex field=m "(?&amp;lt;m1&amp;gt;.*)\.(?&amp;lt;m2&amp;gt;.*)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if you would like this to be automatically extracted, you could add the extraction if you are an admin. look over this doc:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.0/Knowledge/Managesearch-timefieldextractions"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.0/Knowledge/Managesearch-timefieldextractions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 11:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Split-a-single-field-into-two-fields/m-p/382316#M169621</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-05-04T11:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Split a single field into two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Split-a-single-field-into-two-fields/m-p/382317#M169622</link>
      <description>&lt;P&gt;Thank you cmerriman :). It worked for me&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 04:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Split-a-single-field-into-two-fields/m-p/382317#M169622</guid>
      <dc:creator>Allampally</dc:creator>
      <dc:date>2018-05-07T04:32:18Z</dc:date>
    </item>
  </channel>
</rss>

