<?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: how to show a table with fields values from multiple different sourcetypes having different fields in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296400#M39203</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;your perfmon search for counter data  
| stats avg(value) as avgvalue by countername 
| rename COMMENT as "The above gets your counters."

| rename COMMENT as "The below adds your time taken."
| append 
    [ your IIS search for events with time_taken 
    | stats avg(time_taken) as avgvalue 
    | eval countername="TimeTaken"]

| rename COMMENT as "And now we rename to match your headings."
| table avgvalue countername
| rename countername as MeasureName 
| rename avgvalue as "avg(value)" 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Jul 2017 19:18:19 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-07-05T19:18:19Z</dc:date>
    <item>
      <title>how to show a table with fields values from multiple different sourcetypes having different fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296399#M39202</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have perfmon counter data which has two fields "value" &amp;amp; "countername"&lt;BR /&gt;
and then I have IIS log data which gives me time_taken.&lt;/P&gt;

&lt;P&gt;How can I calculate avg of all perfmon counters respectively and also avg time_taken and show all this in a single table which looks like&lt;/P&gt;

&lt;H2&gt;avg(value)                 MeasureName&lt;/H2&gt;

&lt;P&gt;18.0%                        Memory&lt;BR /&gt;
592                             TimeTaken&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 18:30:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296399#M39202</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-07-05T18:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to show a table with fields values from multiple different sourcetypes having different fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296400#M39203</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;your perfmon search for counter data  
| stats avg(value) as avgvalue by countername 
| rename COMMENT as "The above gets your counters."

| rename COMMENT as "The below adds your time taken."
| append 
    [ your IIS search for events with time_taken 
    | stats avg(time_taken) as avgvalue 
    | eval countername="TimeTaken"]

| rename COMMENT as "And now we rename to match your headings."
| table avgvalue countername
| rename countername as MeasureName 
| rename avgvalue as "avg(value)" 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jul 2017 19:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296400#M39203</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-07-05T19:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to show a table with fields values from multiple different sourcetypes having different fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296401#M39204</link>
      <description>&lt;P&gt;Can you post your current search to calculate both separately?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 19:21:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296401#M39204</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-05T19:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to show a table with fields values from multiple different sourcetypes having different fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296402#M39205</link>
      <description>&lt;P&gt;out of curiosity is there any other way apart from using append.&lt;BR /&gt;
Also if we use append, is it an expensive search&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 13:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296402#M39205</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-07-06T13:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to show a table with fields values from multiple different sourcetypes having different fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296403#M39206</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(your base search for perfmon counter data) OR (your base search for IIS log data)
| eval MeasureName=coalesce(countername,"TimeTaken")
| eval value=coalesce(value,time_taken)
| stats avg(value) as Avg_Value by MeasureName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Jul 2017 13:30:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296403#M39206</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-06T13:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to show a table with fields values from multiple different sourcetypes having different fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296404#M39207</link>
      <description>&lt;P&gt;In this case, the &lt;CODE&gt;append&lt;/CODE&gt; isn't appreciably worse than the basic search, but somesoni2's answer is slightly more efficient and better general practice.  &lt;/P&gt;

&lt;P&gt;If you CAN write it without &lt;CODE&gt;append&lt;/CODE&gt;, then you probably SHOULD.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 13:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296404#M39207</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-07-06T13:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to show a table with fields values from multiple different sourcetypes having different fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296405#M39208</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 19:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-show-a-table-with-fields-values-from-multiple-different/m-p/296405#M39208</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-07-06T19:51:06Z</dc:date>
    </item>
  </channel>
</rss>

