<?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: Don't understand how to use splunk join, want to merge two tables in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Don-t-understand-how-to-use-splunk-join-want-to-merge-two-tables/m-p/445100#M126229</link>
    <description>&lt;P&gt;Can you post your join command?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2019 17:38:02 GMT</pubDate>
    <dc:creator>whrg</dc:creator>
    <dc:date>2019-03-20T17:38:02Z</dc:date>
    <item>
      <title>Don't understand how to use splunk join, want to merge two tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Don-t-understand-how-to-use-splunk-join-want-to-merge-two-tables/m-p/445099#M126228</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I have this&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;index=myindex  eventtype="perfmon_windows" object="LogicalDisk" counter="% Free Space" instance!="_Total"  instance!="0"&lt;BR /&gt;
| stats first(Value) as value by instance, host&lt;BR /&gt;
| eval x= 100 - value &lt;BR /&gt;
| eval x= round(x,2)&lt;BR /&gt;
| sort host&lt;BR /&gt;
| fields  host,instance, x&lt;/P&gt;

&lt;P&gt;the result is something like that and it is ok :&lt;/P&gt;

&lt;H2&gt;host          |         instance   | x&lt;/H2&gt;

&lt;P&gt;server1     |         C:              |  30&lt;BR /&gt;
server1     |         &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;              | 20&lt;BR /&gt;
server1     |         E:               | 10&lt;BR /&gt;
server2     |         C:               | 40&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;and I have this&lt;/STRONG&gt; :&lt;/P&gt;

&lt;P&gt;index=myindex  eventtype="perfmon_windows" (object="Memory" counter="% Committed Bytes In Use")  instance!="_Total" &lt;BR /&gt;
| stats first(Value) as value by instance, host&lt;BR /&gt;
| eval y= 100 - round(value,2)&lt;BR /&gt;
| sort host&lt;BR /&gt;
| fields  host, y&lt;/P&gt;

&lt;P&gt;the result is something like that and it is ok :&lt;/P&gt;

&lt;P&gt;host | y&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;server1     |     55&lt;BR /&gt;
server2     |     34&lt;/P&gt;

&lt;P&gt;I tried to join the two search with a join on host and i have that :&lt;/P&gt;

&lt;P&gt;host  | instance | x | y&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;server1 |  0  |  30  | 55&lt;BR /&gt;
server1 |  0  |  20  | 55&lt;BR /&gt;
server1 |  0  |  10  | 55&lt;BR /&gt;
server2 |  0  |   40 | 34&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;But i want to have this&lt;/STRONG&gt; :&lt;/P&gt;

&lt;P&gt;host  | instance | x | y&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;server1 |  C:  |  30  | 55&lt;BR /&gt;
server1 |  &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;  |  20  | 55&lt;BR /&gt;
server1 |  E:   |  10  | 55&lt;BR /&gt;
server2 |  C:  |   40 | 34&lt;/P&gt;

&lt;P&gt;Do you have a solution please ?&lt;/P&gt;

&lt;P&gt;I dont know if it is my join or other thing to do&lt;/P&gt;

&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:44:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Don-t-understand-how-to-use-splunk-join-want-to-merge-two-tables/m-p/445099#M126228</guid>
      <dc:creator>henriq_c</dc:creator>
      <dc:date>2020-09-29T23:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Don't understand how to use splunk join, want to merge two tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Don-t-understand-how-to-use-splunk-join-want-to-merge-two-tables/m-p/445100#M126229</link>
      <description>&lt;P&gt;Can you post your join command?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 17:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Don-t-understand-how-to-use-splunk-join-want-to-merge-two-tables/m-p/445100#M126229</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2019-03-20T17:38:02Z</dc:date>
    </item>
  </channel>
</rss>

