<?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: How to achieve field extraction txt delimiting by space? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625197#M217333</link>
    <description>&lt;P&gt;That definitely works for the time being. Thank you very much!&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 19:53:28 GMT</pubDate>
    <dc:creator>user33</dc:creator>
    <dc:date>2022-12-23T19:53:28Z</dc:date>
    <item>
      <title>How to achieve field extraction txt delimiting by space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625113#M217298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to extract the below &lt;EM&gt;&lt;FONT color="#FF0000"&gt;201&lt;/FONT&gt;&amp;nbsp;&lt;/EM&gt;text highlighted in red below as &lt;STRONG&gt;one&lt;/STRONG&gt; separate field from two separate events. How may I do this? I attempted the field extraction feature in Splunk but had no luck. Any assistance is appreciated!&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Event 1:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;106.51.86.25&lt;/SPAN&gt; [&lt;SPAN class=""&gt;22/Dec/2022:07:48:10&lt;/SPAN&gt; &lt;SPAN class=""&gt;-0500&lt;/SPAN&gt;] &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;POST&lt;/SPAN&gt; &lt;SPAN class=""&gt;/services/public/v1/signup&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;/1.1&lt;/SPAN&gt; &lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;201&lt;/SPAN&gt;&lt;/FONT&gt; &lt;SPAN class=""&gt;5&lt;/SPAN&gt; &lt;SPAN class=""&gt;539&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Event 2:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;23.197.194.86 - - [22/Dec/2022:07:48:09 -0500] "&lt;SPAN class=""&gt;POST /services/public/v1/signup&lt;/SPAN&gt; HTTP/1.1" &lt;FONT color="#FF0000"&gt;201&lt;/FONT&gt; -&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Dec 2022 17:03:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625113#M217298</guid>
      <dc:creator>user33</dc:creator>
      <dc:date>2022-12-22T17:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve field extraction txt delimiting by space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625116#M217300</link>
      <description>&lt;P&gt;This is NCSA's httpd access log format which Splunk provides a stock extraction. &amp;nbsp;Just set sourcetype to "access_combined" or "access_common". &amp;nbsp;This will give you the best result. &amp;nbsp;You can study related stanzas in &amp;nbsp;etc/system/default/props.conf to see how it is done.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 17:24:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625116#M217300</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-12-22T17:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve field extraction txt delimiting by space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625124#M217303</link>
      <description>&lt;P&gt;Thank you. I can look into that. Is there a short-term solution I can do in the interim?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 18:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625124#M217303</guid>
      <dc:creator>user33</dc:creator>
      <dc:date>2022-12-22T18:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve field extraction txt delimiting by space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625148#M217313</link>
      <description>&lt;P&gt;I didn't notice that the logs in Event 1 is not fully conformant to NCSA. &amp;nbsp;This is horrible and you should get the developers/admins to fix that. &amp;nbsp;In the short term, if HTTP status is the only field of interest, you can try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(GET|POST|HEAD|DELETE) +\S+ +HTTP/\S+\s+(?&amp;lt;http_status&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;Here I'm trying to make this as robust as possible according to the posted patterns and some educated guesses. &amp;nbsp;But given that your developers are not respecting a well-established &amp;nbsp;format, there's no guarantee that they'll follow this pattern in all cases.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 01:42:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625148#M217313</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-12-23T01:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve field extraction txt delimiting by space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625197#M217333</link>
      <description>&lt;P&gt;That definitely works for the time being. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-achieve-field-extraction-txt-delimiting-by-space/m-p/625197#M217333</guid>
      <dc:creator>user33</dc:creator>
      <dc:date>2022-12-23T19:53:28Z</dc:date>
    </item>
  </channel>
</rss>

