<?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 extract field using rex? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-extract-field-using-rex/m-p/638962#M221404</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205249"&gt;@karthi2809&lt;/a&gt;&amp;nbsp; you can try something like this....&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|  rex field=_raw "\|(?P&amp;lt;Server&amp;gt;[\w\.]+)\s\|"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gr0und_Z3r0_0-1680762808420.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24809iDF2AC70494838DA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gr0und_Z3r0_0-1680762808420.png" alt="Gr0und_Z3r0_0-1680762808420.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;~ If the reply helps an upvote would be appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 06:39:48 GMT</pubDate>
    <dc:creator>Gr0und_Z3r0</dc:creator>
    <dc:date>2023-04-06T06:39:48Z</dc:date>
    <item>
      <title>How extract field using rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-field-using-rex/m-p/638940#M221398</link>
      <description>&lt;P&gt;How to extract fields in between &lt;STRONG&gt;| servername |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Which i am using in rex&amp;nbsp;&lt;/P&gt;&lt;P&gt;^[^\|\n]*\|(?P&amp;lt;Server&amp;gt;\w+\.\w+\.\w+\.\w+\s+)&lt;/P&gt;&lt;P&gt;But its not extracting the all the servers&lt;/P&gt;&lt;P&gt;05-Apr-2023 04:42:44:PM: |&lt;STRONG&gt;IISN11WCRL02.nnp.anp.co.xx&amp;nbsp;&lt;/STRONG&gt;| Ping statistics for 10.10.10.194: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 54ms, Maximum = 54ms, Average = 54ms&lt;BR /&gt;4/5/23&lt;BR /&gt;4:42:41.000 AM&lt;BR /&gt;05-Apr-2023 04:42:41:PM: &lt;STRONG&gt;|IISN11WCRL02.nnp.anp.co.xx |&lt;/STRONG&gt; Ping statistics for 10.10.10.194: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 54ms, Maximum = 57ms, Average = 54ms&lt;BR /&gt;4/5/23&lt;BR /&gt;4:42:38.000 AM&lt;BR /&gt;05-Apr-2023 04:42:38:PM: |&lt;STRONG&gt;IIISN11WCRL02.nnp.anp.co.xx&lt;/STRONG&gt;&amp;nbsp;| Ping statistics for 10.10.10.194: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 53ms, Maximum = 54ms, Average = 53ms&lt;BR /&gt;4/5/23&lt;BR /&gt;4:42:34.000 AM&lt;BR /&gt;05-Apr-2023 04:42:34:PM: |&lt;STRONG&gt;naz11sry001l&lt;/STRONG&gt; | Ping statistics for 10.10.10.194: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 53ms, Maximum = 55ms, Average = 54ms&lt;BR /&gt;4/5/23&lt;BR /&gt;4:42:31.000 AM&lt;BR /&gt;05-Apr-2023 04:42:31:PM: |&lt;STRONG&gt;naz11sry002l&lt;/STRONG&gt; | Ping statistics for 10.10.10.194: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 53ms, Maximum = 55ms, Average = 54ms&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 05:03:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-field-using-rex/m-p/638940#M221398</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2023-04-06T05:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: How extract field using rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-field-using-rex/m-p/638945#M221399</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^[^\|\n]*\|(?P&amp;lt;Server&amp;gt;[^\|]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Apr 2023 05:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-field-using-rex/m-p/638945#M221399</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-06T05:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How extract field using rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-field-using-rex/m-p/638962#M221404</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205249"&gt;@karthi2809&lt;/a&gt;&amp;nbsp; you can try something like this....&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|  rex field=_raw "\|(?P&amp;lt;Server&amp;gt;[\w\.]+)\s\|"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gr0und_Z3r0_0-1680762808420.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24809iDF2AC70494838DA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gr0und_Z3r0_0-1680762808420.png" alt="Gr0und_Z3r0_0-1680762808420.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;~ If the reply helps an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 06:39:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-field-using-rex/m-p/638962#M221404</guid>
      <dc:creator>Gr0und_Z3r0</dc:creator>
      <dc:date>2023-04-06T06:39:48Z</dc:date>
    </item>
  </channel>
</rss>

