<?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 add two filter criteria in one search query in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-two-filter-criteria-in-one-search-query/m-p/522975#M35331</link>
    <description>&lt;LI-CODE lang="markup"&gt;index=abc ns=xyz app_name=sd "ARC EVENT RECEIVED FROM SOURCE" OR "ARC SUCCESSFULLY UPDATED RESPONSE BACK TO SOURCE OR SF"| rex "RID:(?&amp;lt;RID&amp;gt;(\w+-){4}\w+)-(?&amp;lt;sourceagent&amp;gt;\w+-\w+)"
| stats count, by sourceagent,RID
| rename sourceagent as "Source"|fields RID Source&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 05 Oct 2020 12:11:35 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2020-10-05T12:11:35Z</dc:date>
    <item>
      <title>How to add two filter criteria in one search query</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-two-filter-criteria-in-one-search-query/m-p/522959#M35328</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have two search queries with two filter criteria's&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st query:&lt;/P&gt;&lt;P&gt;index=abc ns=xyz app_name=sd "ARC EVENT RECEIVED FROM SOURCE"| rex "RID:(?&amp;lt;RID&amp;gt;(\w+-){4}\w+)-(?&amp;lt;sourceagent&amp;gt;\w+-\w+)"&lt;BR /&gt;| stats count, by sourceagent,RID&lt;BR /&gt;| rename sourceagent as "Source"|fields RID Source&lt;/P&gt;&lt;P&gt;2nd query&lt;/P&gt;&lt;P&gt;index=abc ns=xyz app_name=sd"ARC SUCCESSFULLY UPDATED RESPONSE BACK TO SOURCE OR SF"| rex "RID:(?&amp;lt;RID&amp;gt;(\w+-){4}\w+)-(?&amp;lt;sourceagent&amp;gt;\w+-\w+)"&lt;BR /&gt;| stats count, by sourceagent,RID&lt;BR /&gt;| rename sourceagent as "Source"|fields RID Source&lt;/P&gt;&lt;P&gt;Since the search is same for both only the filter criteria is different like&amp;nbsp;"ARC EVENT RECEIVED FROM SOURCE" and&amp;nbsp;"ARC SUCCESSFULLY UPDATED RESPONSE BACK TO SOURCE OR SF".&lt;/P&gt;&lt;P&gt;How can I make it a single query with two filter criteria.&lt;/P&gt;&lt;P&gt;Can someone guide me on that.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:34:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-two-filter-criteria-in-one-search-query/m-p/522959#M35328</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2020-10-05T11:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to add two filter criteria in one search query</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-two-filter-criteria-in-one-search-query/m-p/522975#M35331</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=abc ns=xyz app_name=sd "ARC EVENT RECEIVED FROM SOURCE" OR "ARC SUCCESSFULLY UPDATED RESPONSE BACK TO SOURCE OR SF"| rex "RID:(?&amp;lt;RID&amp;gt;(\w+-){4}\w+)-(?&amp;lt;sourceagent&amp;gt;\w+-\w+)"
| stats count, by sourceagent,RID
| rename sourceagent as "Source"|fields RID Source&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 05 Oct 2020 12:11:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-two-filter-criteria-in-one-search-query/m-p/522975#M35331</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-10-05T12:11:35Z</dc:date>
    </item>
  </channel>
</rss>

