<?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 pull multiple fields from one field in Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-pull-multiple-fields-from-one-field-in-Splunk/m-p/643489#M222903</link>
    <description>&lt;P&gt;Example field value in "Field1"&lt;/P&gt;
&lt;P&gt;Test1: Successful Test2: 200 Type: Http; Auth: ** URL: abc.com..... IP--Address: xx.xxx.xx.xx Name: xxxxx Path Location: /hdkdsd-/hkk/gdjshd Level: abc User:&amp;nbsp; xxx Site: vjsdjsd&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below query not returning any value:&lt;/P&gt;
&lt;P&gt;index=xxx&lt;/P&gt;
&lt;P&gt;|&amp;nbsp; rex field=Field1 "Test2\:\s+(?&amp;lt;A1&amp;gt;\d+)\s+"&lt;/P&gt;
&lt;P&gt;|&amp;nbsp; rex field=Field1 "URL\:\s+(?&amp;lt;A2&amp;gt;\w+)\s+"&lt;/P&gt;
&lt;P&gt;|&amp;nbsp; rex field=Field1 "User\:\s+(?&amp;lt;A3&amp;gt;\w+)\s+"&lt;/P&gt;
&lt;P&gt;| table A1, A2, A3&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 12:49:05 GMT</pubDate>
    <dc:creator>harryhcg</dc:creator>
    <dc:date>2023-05-16T12:49:05Z</dc:date>
    <item>
      <title>How to pull multiple fields from one field in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pull-multiple-fields-from-one-field-in-Splunk/m-p/643489#M222903</link>
      <description>&lt;P&gt;Example field value in "Field1"&lt;/P&gt;
&lt;P&gt;Test1: Successful Test2: 200 Type: Http; Auth: ** URL: abc.com..... IP--Address: xx.xxx.xx.xx Name: xxxxx Path Location: /hdkdsd-/hkk/gdjshd Level: abc User:&amp;nbsp; xxx Site: vjsdjsd&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below query not returning any value:&lt;/P&gt;
&lt;P&gt;index=xxx&lt;/P&gt;
&lt;P&gt;|&amp;nbsp; rex field=Field1 "Test2\:\s+(?&amp;lt;A1&amp;gt;\d+)\s+"&lt;/P&gt;
&lt;P&gt;|&amp;nbsp; rex field=Field1 "URL\:\s+(?&amp;lt;A2&amp;gt;\w+)\s+"&lt;/P&gt;
&lt;P&gt;|&amp;nbsp; rex field=Field1 "User\:\s+(?&amp;lt;A3&amp;gt;\w+)\s+"&lt;/P&gt;
&lt;P&gt;| table A1, A2, A3&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 12:49:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pull-multiple-fields-from-one-field-in-Splunk/m-p/643489#M222903</guid>
      <dc:creator>harryhcg</dc:creator>
      <dc:date>2023-05-16T12:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pull multiple fields from one field in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pull-multiple-fields-from-one-field-in-Splunk/m-p/643490#M222904</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253194"&gt;@harryhcg&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=Field1 "Test2:\s*(?&amp;lt;A1&amp;gt;\d+).*URL:\s*(?&amp;lt;A2&amp;gt;[^ ]*).*User:\s*(?&amp;lt;A3&amp;gt;[^ ]*)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/kj44MB/1" target="_blank"&gt;https://regex101.com/r/kj44MB/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if the events could change, you can put the three regex extractions in three different rex commands.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=Field1 "Test2:\s*(?&amp;lt;A1&amp;gt;\d+)
| rex field=Field1 "URL:\s*(?&amp;lt;A2&amp;gt;[^ ]*)
| rex field=Field1 "User:\s*(?&amp;lt;A3&amp;gt;[^ ]*)"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 12:04:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pull-multiple-fields-from-one-field-in-Splunk/m-p/643490#M222904</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-05-16T12:04:59Z</dc:date>
    </item>
  </channel>
</rss>

