<?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: Help Combining 2 regex searches in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-Combining-2-regex-searches/m-p/52494#M12759</link>
    <description>&lt;P&gt;If by combine you mean find events matching at least one of the regular expressions, use the pipe symbol to get a regex "or":&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | regex log_id="(4454[4-7])|(32[0-5][0-4][0-9])"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 31 May 2013 23:25:25 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-05-31T23:25:25Z</dc:date>
    <item>
      <title>Help Combining 2 regex searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-Combining-2-regex-searches/m-p/52493#M12758</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
i have been trying to combine these two searches together. can some one please help combine them.&lt;/P&gt;

&lt;P&gt;first search: index=pci_hpd_index device_id=FGT* | regex log_id="4454[4-7]"&lt;/P&gt;

&lt;P&gt;second search: index=pci_hpd_index device_id=FGT* | regex log_id="32[0-5][0-4][0-9]"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:01:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-Combining-2-regex-searches/m-p/52493#M12758</guid>
      <dc:creator>ssehgal</dc:creator>
      <dc:date>2020-09-28T14:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help Combining 2 regex searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-Combining-2-regex-searches/m-p/52494#M12759</link>
      <description>&lt;P&gt;If by combine you mean find events matching at least one of the regular expressions, use the pipe symbol to get a regex "or":&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | regex log_id="(4454[4-7])|(32[0-5][0-4][0-9])"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2013 23:25:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-Combining-2-regex-searches/m-p/52494#M12759</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-05-31T23:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help Combining 2 regex searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-Combining-2-regex-searches/m-p/52495#M12760</link>
      <description>&lt;P&gt;thanks that helped a lot. it works now.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2013 15:54:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-Combining-2-regex-searches/m-p/52495#M12760</guid>
      <dc:creator>ssehgal</dc:creator>
      <dc:date>2013-06-04T15:54:18Z</dc:date>
    </item>
  </channel>
</rss>

