<?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: Field Extraction did not work in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-did-not-work/m-p/675353#M231088</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/155648"&gt;@burwell&lt;/a&gt;&amp;nbsp;asked, what you have tried?&lt;/P&gt;&lt;P&gt;Here is some examples which you could also try based on your one line sample.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| rex "^\w+ \d+ \d\d:\d\d:\d\d \w+ [\w-]+ \w+ [\w\.]+ - (?&amp;lt;User1&amp;gt;[^\[]+)"
| eval User1 = rtrim(User1, " ")
| rex "CN=(?&amp;lt;User2&amp;gt;[^,]+),OU"
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;r. Ismo&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 10:02:13 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2024-01-25T10:02:13Z</dc:date>
    <item>
      <title>Field Extraction did not work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-did-not-work/m-p/675301#M231080</link>
      <description>&lt;P&gt;Oct 30 06:55:08 Server1 request-default Cert x.x.x.x - John bank_user Viewer_PIP_PIP_env vu01 Appl Test [30/Oct/2023:06:54:51.849 -0400] "GET /web/appWeb/external/index.do HTTP/1.1" 200 431 7 9 8080937 x.x.x.x /junctions 25750 - "OU=00000000+CN=John bank_user Viewer_PIP_PIP_env vu01 Appl Test,OU=st,O=Bank,C=us" bfe9a8e8-7712-11ee-ab2e-0050568906b9 "x509: TLSV12: 30" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36"&lt;/P&gt;&lt;P&gt;I have above in the log.&amp;nbsp; I have field extraction (regular expressions) to extract user and in this case "John bank_user Viewer_PIP_PIP_env vu01 Appl Test".&amp;nbsp; The alert did find this user but reported the user name as "john".&amp;nbsp; There are some other users, who have space in the name shows up in alert fine. How do I fix the extraction so entire user name shows up in the alert?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 19:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-did-not-work/m-p/675301#M231080</guid>
      <dc:creator>gnshah12345</dc:creator>
      <dc:date>2024-01-24T19:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction did not work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-did-not-work/m-p/675302#M231081</link>
      <description>&lt;P&gt;Hi. Can you show what props you are currently using?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 20:17:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-did-not-work/m-p/675302#M231081</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2024-01-24T20:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction did not work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-did-not-work/m-p/675353#M231088</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/155648"&gt;@burwell&lt;/a&gt;&amp;nbsp;asked, what you have tried?&lt;/P&gt;&lt;P&gt;Here is some examples which you could also try based on your one line sample.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| rex "^\w+ \d+ \d\d:\d\d:\d\d \w+ [\w-]+ \w+ [\w\.]+ - (?&amp;lt;User1&amp;gt;[^\[]+)"
| eval User1 = rtrim(User1, " ")
| rex "CN=(?&amp;lt;User2&amp;gt;[^,]+),OU"
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 10:02:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-did-not-work/m-p/675353#M231088</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-01-25T10:02:13Z</dc:date>
    </item>
  </channel>
</rss>

