<?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: Join command in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590703#M48483</link>
    <description>&lt;P&gt;In search and report ,in the analytics tab you can check which metrics you're collecting&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 14:59:59 GMT</pubDate>
    <dc:creator>diogofgm</dc:creator>
    <dc:date>2022-03-24T14:59:59Z</dc:date>
    <item>
      <title>How to use join command to output in graph dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590631#M48473</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using the below query to bring the output in graph dashboard but this query gives Disk memory values is same . I have attached the output also. Can anyone help me&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Query:&lt;/P&gt;
&lt;PRE&gt;index=oswin sourcetype="Perfmon:Processor" host=COPYCAR01 &lt;BR /&gt;| timechart avg(cpu_load_percent) as CPU span=15min &lt;BR /&gt;| join type=left host&lt;BR /&gt;[| mstats avg("Memory.%_Committed_Bytes_In_Use") as Memory WHERE index=oswinperf AND host=COPYCAR01 span=15min ] &lt;BR /&gt;| join type=left host&lt;BR /&gt;[| mstats avg("LogicalDisk.%_Free_Space") as Diskfree WHERE index=oswinperf AND host=COPYCAR01 span=15min &lt;BR /&gt;| eval DISK=100 - Diskfree &lt;BR /&gt;| table _time,DISK]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;PRE&gt;_time               CPU                  DISK            Memory&lt;BR /&gt;2022-03-24 09:00:00 55.78524325650826 57.29944034187627 11.84846114177454&lt;BR /&gt;2022-03-24 09:15:00 59.38775699798989 57.29944034187627 11.84846114177454&lt;BR /&gt;2022-03-24 09:30:00 56.71582822628451 57.29944034187627 11.84846114177454&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 15:24:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590631#M48473</guid>
      <dc:creator>jackin</dc:creator>
      <dc:date>2022-03-24T15:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Join command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590666#M48478</link>
      <description>&lt;P&gt;You are getting the same because you are joining by host and not by host/_time&lt;BR /&gt;&lt;BR /&gt;Since you're getting already metrics data why not use CPU metrics data as well? That would make you search something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| mstats avg("Processor.%_Processor_Time") AS CPU avg("Memory.%_Committed_Bytes_In_Use") as Memory avg("LogicalDisk.%_Free_Space") as Diskfree WHERE index=oswinperf AND host=COPYCAR01 span=15min 
| eval DISK=100 - Diskfree 
| table _time CPU Memory DISK&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Way better since you do not need to use join.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 13:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590666#M48478</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2022-03-24T13:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Join command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590673#M48480</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/90723"&gt;@diogofgm&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Actually the cpu metric did not return the correct values. thats why&lt;/P&gt;&lt;P&gt;can you help me to bring the output?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 13:35:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590673#M48480</guid>
      <dc:creator>jackin</dc:creator>
      <dc:date>2022-03-24T13:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Join command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590701#M48482</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239496"&gt;@jackin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the object and counter configured for you cpu metrics in your splunk and is your CPU data in&amp;nbsp;sourcetype="Perfmon:Processor" i thought it is usually in different sourcetype&amp;nbsp;&lt;/P&gt;&lt;P&gt;like&amp;nbsp;Memory.%_Committed_Bytes_In_Use&amp;nbsp; is for memory&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;LogicalDisk.%_Free_Space&amp;nbsp; is for free space&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 14:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590701#M48482</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2022-03-24T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Join command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590703#M48483</link>
      <description>&lt;P&gt;In search and report ,in the analytics tab you can check which metrics you're collecting&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 14:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-join-command-to-output-in-graph-dashboard/m-p/590703#M48483</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2022-03-24T14:59:59Z</dc:date>
    </item>
  </channel>
</rss>

