<?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 on basic search with 2 index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-on-basic-search-with-2-index/m-p/475802#M145902</link>
    <description>&lt;P&gt;you are right, thanks&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 11:47:54 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2020-02-18T11:47:54Z</dc:date>
    <item>
      <title>help on basic search with 2 index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-basic-search-with-2-index/m-p/475800#M145900</link>
      <description>&lt;P&gt;HIhi&lt;/P&gt;

&lt;P&gt;why I have no resulys even if I merge 2 index even if I have results when I execute one or the other?&lt;BR /&gt;
    (index=ai-pe-* sourcetype="Perfmon:Mem OR index=ai-wmi-* sourcetype="WMI:Mem") &lt;BR /&gt;
    | fields host Value TotalPhysicalMemory &lt;BR /&gt;
    | eval FreeMemory = round(Value, 2). " MB" &lt;BR /&gt;
    | eval TotalMemory = round((TotalPhysicalMemory / 1024 / 1024), 2). " MB" &lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 11:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-basic-search-with-2-index/m-p/475800#M145900</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-02-18T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: help on basic search with 2 index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-basic-search-with-2-index/m-p/475801#M145901</link>
      <description>&lt;P&gt;Your query currently gets interpreted as this:&lt;BR /&gt;
(I'm also guessing there were &lt;CODE&gt;*&lt;/CODE&gt;s in the index names - use the code formatter tool &lt;CODE&gt;101010&lt;/CODE&gt; to avoid the html renderer removing them)&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=ai-pe-* AND (sourcetype="Perfmon:Mem OR index=ai-wmi-*) AND sourcetype="WMI:Mem"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Instead you want:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=ai-pe-* AND sourcetype="Perfmon:Mem) OR (index=ai-wmi-* AND sourcetype="WMI:Mem")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can leave the &lt;CODE&gt;AND&lt;/CODE&gt;s out - I just added them for clairty&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 11:09:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-basic-search-with-2-index/m-p/475801#M145901</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-18T11:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: help on basic search with 2 index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-basic-search-with-2-index/m-p/475802#M145902</link>
      <description>&lt;P&gt;you are right, thanks&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 11:47:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-basic-search-with-2-index/m-p/475802#M145902</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-02-18T11:47:54Z</dc:date>
    </item>
  </channel>
</rss>

