<?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 Chart over multiple variables in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335370#M99625</link>
    <description>&lt;P&gt;day_receive_time="Wed, Oct 25, 2017" device_name="apple" app="mssql-db" bandwidth_consumption="161" &lt;BR /&gt;
day_receive_time="Wed, Oct 25, 2017" device_name="apple" app="ldap" bandwidth_consumption="146" &lt;BR /&gt;
day_receive_time="Wed, Oct 25, 2017" device_name="grape" app="syslog" bandwidth_consumption="69" &lt;BR /&gt;
 day_receive_time="Wed, Oct 25, 2017" device_name="grape" app="syslog" bandwidth_consumption="69" &lt;/P&gt;

&lt;P&gt;i would like have data in format &lt;BR /&gt;
device_name      app                bandwidth_consumption&lt;BR /&gt;
apple                    mssql-db      161&lt;BR /&gt;
                               ldap               146&lt;BR /&gt;
                               syslog            69&lt;BR /&gt;
grape                    syslog            69&lt;/P&gt;

&lt;P&gt;Unable to create query for same , Can some please help with building query for same .&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:29:22 GMT</pubDate>
    <dc:creator>atulitm</dc:creator>
    <dc:date>2020-09-29T16:29:22Z</dc:date>
    <item>
      <title>Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335370#M99625</link>
      <description>&lt;P&gt;day_receive_time="Wed, Oct 25, 2017" device_name="apple" app="mssql-db" bandwidth_consumption="161" &lt;BR /&gt;
day_receive_time="Wed, Oct 25, 2017" device_name="apple" app="ldap" bandwidth_consumption="146" &lt;BR /&gt;
day_receive_time="Wed, Oct 25, 2017" device_name="grape" app="syslog" bandwidth_consumption="69" &lt;BR /&gt;
 day_receive_time="Wed, Oct 25, 2017" device_name="grape" app="syslog" bandwidth_consumption="69" &lt;/P&gt;

&lt;P&gt;i would like have data in format &lt;BR /&gt;
device_name      app                bandwidth_consumption&lt;BR /&gt;
apple                    mssql-db      161&lt;BR /&gt;
                               ldap               146&lt;BR /&gt;
                               syslog            69&lt;BR /&gt;
grape                    syslog            69&lt;/P&gt;

&lt;P&gt;Unable to create query for same , Can some please help with building query for same .&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:29:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335370#M99625</guid>
      <dc:creator>atulitm</dc:creator>
      <dc:date>2020-09-29T16:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335371#M99626</link>
      <description>&lt;P&gt;Give this a try:&lt;BR /&gt;
&lt;CODE&gt;your base search | stats values(app) AS app values(bandwidth_consumption) AS bandwidth_consumption BY device_name&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Here's some guidance on how to use &lt;CODE&gt;stats&lt;/CODE&gt; in your searches:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Search/Usethestatscommandandfunctions"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Search/Usethestatscommandandfunctions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 15:53:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335371#M99626</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2017-10-26T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335372#M99627</link>
      <description>&lt;P&gt;Actually also i need that data on per day_receive_time variable mention in logs so in other words i will be getting bwconsumption  data daily for one device for each app and i want to show that in table per day ... coloum header should be variable &lt;BR /&gt;
day_receive_time .. unable to create . can you plz help with same &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:29:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335372#M99627</guid>
      <dc:creator>atulitm</dc:creator>
      <dc:date>2020-09-29T16:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335373#M99628</link>
      <description>&lt;P&gt;So perhaps what you need is this:&lt;BR /&gt;
&lt;CODE&gt;your base search | stats values(app) AS app values(bandwidth_consumption) AS bandwidth_consumption by day_receive_time device_name&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 17:48:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335373#M99628</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2017-10-26T17:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335374#M99629</link>
      <description>&lt;P&gt;Thanks , i tried that before but problem is that i need dates to be column header and this query makes them as row .. Also i had tried adding &lt;BR /&gt;
your base search | stats values(app) AS app values(bandwidth_consumption) AS bandwidth_consumption by day_receive_time device_name| transpose header_field=device_name | fields - column &lt;BR /&gt;
but it doesnt work , i need dates as column header where it shows bandwidth_consumption underneath so it shows per app per day stats , so that in one table we could compare how bandwidth_consumption  is increasing/decreasing and also if we can have that in chart .&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335374#M99629</guid>
      <dc:creator>atulitm</dc:creator>
      <dc:date>2020-09-29T16:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335375#M99630</link>
      <description>&lt;P&gt;@atulitm, I think your current requirement has changed from the original table that you have posted in your question. Please post a sample updated table as per your need, so that community members can assist.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 07:28:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335375#M99630</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-27T07:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335376#M99631</link>
      <description>&lt;P&gt;device_name   app           bandwidth_consumption&lt;BR /&gt;
                                          Wed, Oct 25, 2017  Thurs, Oct 26, 2017&lt;BR /&gt;&lt;BR /&gt;
apple             mssql-db   161                                        120&lt;BR /&gt;
                       ldap             146                                        132&lt;BR /&gt;
                       syslog          69                                          85&lt;BR /&gt;
grape             syslog           69                                            80&lt;/P&gt;

&lt;P&gt;Wed, Oct 25, 2017 and Thurs, Oct 26, 2017 you see in output are values of variable "day_receive_time" in log&lt;BR /&gt;
@niketnilay  I am looking for something like this which shows bandwidth_consumption of each app per device per day and also a chart out of it . I tried using stats command , i can get output  but not in way i want . thnx&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335376#M99631</guid>
      <dc:creator>atulitm</dc:creator>
      <dc:date>2020-09-29T16:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335377#M99632</link>
      <description>&lt;P&gt;One more thing .. this looks like giving me desired results but problem is it creates column for app too per day where i need to see app and then how much bandwidth_consumption per day as shown above  .&lt;BR /&gt;
index | chart values(app) AS app values(bandwidth_consumption) AS bandwidth_consumption by device_name day_receive_time&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335377#M99632</guid>
      <dc:creator>atulitm</dc:creator>
      <dc:date>2020-09-29T16:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Chart over multiple variables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335378#M99633</link>
      <description>&lt;P&gt;@atulitm, I feel this is duplicate, I have already answered this question for you : &lt;A href="https://answers.splunk.com/answers/586137/how-to-use-chart-command-to-get-data-over-3-variab.html"&gt;https://answers.splunk.com/answers/586137/how-to-use-chart-command-to-get-data-over-3-variab.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 15:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-over-multiple-variables/m-p/335378#M99633</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-30T15:20:03Z</dc:date>
    </item>
  </channel>
</rss>

