<?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 separator in search string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59692#M14710</link>
    <description>&lt;P&gt;You could put both in props.conf/transforms.conf.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2013 09:34:19 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-03-13T09:34:19Z</dc:date>
    <item>
      <title>REX separator in search string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59690#M14708</link>
      <description>&lt;P&gt;I have 2 separate rex extractions. Both work fine individually. I need to combine both these rex's into single search without using |What is the seperator/delimter for multiple rex in single search&lt;/P&gt;&lt;P&gt;case1 : working fine&lt;BR /&gt;|rex extraction1&lt;BR /&gt;|rex extraction2&lt;/P&gt;&lt;P&gt;case 2: not working &lt;BR /&gt; |rex extraction1, extraction2 &lt;BR /&gt; |rex (extraction1)(extraction2)&lt;BR /&gt; |rex extraction1 extraction2&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 08:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59690#M14708</guid>
      <dc:creator>p_basanth</dc:creator>
      <dc:date>2013-03-13T08:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: REX separator in search string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59691#M14709</link>
      <description>&lt;P&gt;Why would you need to combine them? Just keeping them separate is easiest and least confusing.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 08:12:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59691#M14709</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-03-13T08:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: REX separator in search string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59692#M14710</link>
      <description>&lt;P&gt;You could put both in props.conf/transforms.conf.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 09:34:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59692#M14710</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-13T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: REX separator in search string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59693#M14711</link>
      <description>&lt;P&gt;I usually move my rex extractions to props and transforms once I have them working and if I need them in an ongoing basis. There is no real reason you have to try and combine them into one.&lt;/P&gt;

&lt;P&gt;Here is an example where I have syslog from pgp management appliance. Broken out using multiple extracts.&lt;/P&gt;

&lt;P&gt;From PROPS.CONF:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog_pgp]
CHECK_FOR_HEADER = 0
SHOULD_LINEMERGE = TRUE
REPORT-uabPGP=pgpclient-extract,pgpuser-extract,pgpdisk-extract,pgpmachine-extract,pgpsrc-    extract-1,pgpsrc-extract-2
pulldown_type = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then the stanzas from TRANSFORMS.CONF&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pgpclient-extract]
REGEX = (?:CLIENT-)(?P&amp;lt;client&amp;gt;\d{5})

[pgpuser-extract]
REGEX = (?i: [\[]{0,1}User )(?P&amp;lt;user&amp;gt;[^ \]]+)

[pgpuser-extract-2]
REGEX = (?:attempt for Administrator \")(?P&amp;lt;user&amp;gt;[^ \"]+)

[pgpdisk-extract]
REGEX = (?: on disk )(?P&amp;lt;disk&amp;gt;.+)(?: on )

[pgpmachine-extract]
REGEX = (?: on machine )(?P&amp;lt;machine&amp;gt;[^ ]+)

[pgpsrc-extract-1]
REGEX = (?: from \[)(?P&amp;lt;src_ip&amp;gt;[^\]]+)

[pgpsrc-extract-2]
REGEX = (?: connection from )(?P&amp;lt;src_ip&amp;gt;[^ ]+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Mar 2013 19:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-separator-in-search-string/m-p/59693#M14711</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2013-03-15T19:27:37Z</dc:date>
    </item>
  </channel>
</rss>

