<?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: rex in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/rex/m-p/509828#M142515</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try this:&lt;/P&gt;&lt;P&gt;index=_internal&lt;BR /&gt;| head 1&lt;BR /&gt;| eval _raw="TCP 191.174.4.187:80 -&amp;gt; 10.10.50.26:100"&lt;BR /&gt;| rex "TCP\s+(?&amp;lt;src&amp;gt;[^:]+):(?&amp;lt;src_port&amp;gt;[^\s]+)\s+-&amp;gt;\s+(?&amp;lt;dst&amp;gt;[^:]+):(?&amp;lt;dst_port&amp;gt;[^\s]+)"&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jul 2020 09:06:03 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2020-07-18T09:06:03Z</dc:date>
    <item>
      <title>rex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex/m-p/509827#M142514</link>
      <description>&lt;P&gt;I'm trying to extract this line from my linux logs in splunk using rex&amp;nbsp; but I'm not sure how to extract it&lt;/P&gt;&lt;P&gt;TCP 191.174.4.187:80 -&amp;gt; 10.10.50.26:100&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 07:57:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex/m-p/509827#M142514</guid>
      <dc:creator>rkris</dc:creator>
      <dc:date>2020-07-18T07:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: rex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex/m-p/509828#M142515</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try this:&lt;/P&gt;&lt;P&gt;index=_internal&lt;BR /&gt;| head 1&lt;BR /&gt;| eval _raw="TCP 191.174.4.187:80 -&amp;gt; 10.10.50.26:100"&lt;BR /&gt;| rex "TCP\s+(?&amp;lt;src&amp;gt;[^:]+):(?&amp;lt;src_port&amp;gt;[^\s]+)\s+-&amp;gt;\s+(?&amp;lt;dst&amp;gt;[^:]+):(?&amp;lt;dst_port&amp;gt;[^\s]+)"&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 09:06:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex/m-p/509828#M142515</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-18T09:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: rex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex/m-p/509845#M142521</link>
      <description>&lt;P&gt;Can you post a sample of your raw data line and what you need extracted? for your question, it isn't clear, if you want one variable to extract the entire phrase or if you want to extract fields from the pasted line.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 15:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex/m-p/509845#M142521</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2020-07-18T15:34:30Z</dc:date>
    </item>
  </channel>
</rss>

