<?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 How to get two different field values In a query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556839#M158159</link>
    <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;I am looking to get two different field values in a single query in Splunk, example, I have two different country codes and would like to get both their values&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request.countrycode=EU&lt;/P&gt;&lt;P&gt;Request.country=SW&lt;/P&gt;&lt;P&gt;“Or” command is not working for this, any suggestions team ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 09:30:28 GMT</pubDate>
    <dc:creator>aaa2324</dc:creator>
    <dc:date>2021-06-23T09:30:28Z</dc:date>
    <item>
      <title>How to get two different field values In a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556839#M158159</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;I am looking to get two different field values in a single query in Splunk, example, I have two different country codes and would like to get both their values&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request.countrycode=EU&lt;/P&gt;&lt;P&gt;Request.country=SW&lt;/P&gt;&lt;P&gt;“Or” command is not working for this, any suggestions team ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 09:30:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556839#M158159</guid>
      <dc:creator>aaa2324</dc:creator>
      <dc:date>2021-06-23T09:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get two different field values In a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556843#M158160</link>
      <description>&lt;P&gt;Are you using "OR" - this has to be all in caps for it to work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Request.countrycode=EU OR Request.country=SW&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 23 Jun 2021 09:36:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556843#M158160</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-23T09:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get two different field values In a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556857#M158163</link>
      <description>&lt;P&gt;Thanks, but how to get the stats count of these two values?&lt;/P&gt;&lt;P&gt;Stats count by Request.countrycode, Request.country&lt;/P&gt;&lt;P&gt;is not returning any values&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 10:44:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556857#M158163</guid>
      <dc:creator>aaa2324</dc:creator>
      <dc:date>2021-06-23T10:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get two different field values In a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556858#M158164</link>
      <description>&lt;P&gt;Can you share some anonymised sample events and the current search you are working with, and some idea of what you are trying to get out of it?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 10:47:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-two-different-field-values-In-a-query/m-p/556858#M158164</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-23T10:47:59Z</dc:date>
    </item>
  </channel>
</rss>

