<?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: merging two search strings in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75032#M18958</link>
    <description>&lt;P&gt;I need the result of both the search string combined in a same window.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Dec 2012 19:23:25 GMT</pubDate>
    <dc:creator>Splunk_U</dc:creator>
    <dc:date>2012-12-31T19:23:25Z</dc:date>
    <item>
      <title>merging two search strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75029#M18955</link>
      <description>&lt;P&gt;Can you  please help me out to merge these two search strings&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=vmstat 
| multikv fields memUsedPct  
| stats avg(memUsedPct) as avgMemUse max(memUsedPct) as pkMemUse by host
| join host [ search index=os sourcetype=cpu 
    | multikv fields pctIdle  
    | search all  
    | eval Percent_CPU_Load = 100 - pctIdle  
    | stats avg(Percent_CPU_Load) as avgCpuUse max(Percent_CPU_Load) as pkCpuUse by host ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=perfmon* 
| stats avg(Value) as Average max(Value) as Max by host counter
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Dec 2012 13:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75029#M18955</guid>
      <dc:creator>Splunk_U</dc:creator>
      <dc:date>2012-12-31T13:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: merging two search strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75030#M18956</link>
      <description>&lt;P&gt;Do you really need these stats combined? Or could you put both searches on a dashboard, where you could see the results side-by-side?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2012 18:48:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75030#M18956</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-12-31T18:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: merging two search strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75031#M18957</link>
      <description>&lt;P&gt;Just keep following the pattern....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=vmstat 
| multikv fields memUsedPct  
| stats avg(memUsedPct) as avgMemUse max(memUsedPct) as pkMemUse by host
| join host [ search index=os sourcetype=cpu 
    | multikv fields pctIdle  
    | search all  
    | eval Percent_CPU_Load = 100 - pctIdle  
    | stats avg(Percent_CPU_Load) as avgCpuUse max(Percent_CPU_Load) as pkCpuUse by host ]
| join host [ search index=os sourcetype=perfmon* 
    | stats avg(Value) as Average max(Value) as Max by host counter ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Although I don't think that is going to work exactly the way you want...&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2012 18:50:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75031#M18957</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-12-31T18:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: merging two search strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75032#M18958</link>
      <description>&lt;P&gt;I need the result of both the search string combined in a same window.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2012 19:23:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75032#M18958</guid>
      <dc:creator>Splunk_U</dc:creator>
      <dc:date>2012-12-31T19:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: merging two search strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75033#M18959</link>
      <description>&lt;P&gt;No it is not working...I have tried the same follow ... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2012 19:24:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75033#M18959</guid>
      <dc:creator>Splunk_U</dc:creator>
      <dc:date>2012-12-31T19:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: merging two search strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75034#M18960</link>
      <description>&lt;P&gt;What output do you get from this search?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=os sourcetype=perfmon* &lt;BR /&gt;
| stats avg(Value) as Average max(Value) as Max by host counter&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2012 19:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merging-two-search-strings/m-p/75034#M18960</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-12-31T19:40:17Z</dc:date>
    </item>
  </channel>
</rss>

