<?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: query help with chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384389#M112264</link>
    <description>&lt;P&gt;You said you desired &lt;CODE&gt;Bandwidth usage&lt;/CODE&gt;; that is how to calculate usage.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2019 15:07:16 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-04-02T15:07:16Z</dc:date>
    <item>
      <title>query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384383#M112258</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a csv file with inputs like this :&lt;/P&gt;

&lt;P&gt;Time,Device,Interface,Duration,Bits In/sec,Bits Out/sec,BW&lt;BR /&gt;
3/22/2019 12:26,A-01,Ethernet1/1,322,0.00000255,0.00000247,10000000000&lt;BR /&gt;
3/22/2019 12:31,A-01,Ethernet1/1,317,0.00000247,0.00000247,10000000000&lt;BR /&gt;
3/22/2019 12:37,A-01,Ethernet1/1,319,0.00000242,0.0000025,10000000000&lt;BR /&gt;
3/22/2019 12:42,A-01,Ethernet1/1,320,0.00000248,0.0000024,10000000000&lt;/P&gt;

&lt;P&gt;Now i need to show it in a graph like the attached picture where i can show in &lt;BR /&gt;
x-axis the bandwidth usage and &lt;BR /&gt;
y-axis i need Device:Interface name&lt;BR /&gt;
and the usage details should come in the graph as shown in the screenshot. Please help asap. &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6800i0FFB691DB8B4AEA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 09:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384383#M112258</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2019-03-29T09:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384384#M112259</link>
      <description>&lt;P&gt;@surekhasplunk,&lt;/P&gt;

&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"your current search"
|eval Interfaces=Device.":".Interface
|stats sum("Bits In/sec") as BitsIn,sum("Bits Out/sec") as BitsOut by Interfaces
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Mar 2019 09:05:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384384#M112259</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-03-30T09:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384385#M112260</link>
      <description>&lt;P&gt;@surekhasplunk I am confused. You have the data with fields and you have the expected chart in Splunk. Don't you already have the query? Is it assistance required with some assignment? or do you want something on top of the chart that has been attached?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2019 15:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384385#M112260</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-03-30T15:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384386#M112261</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval bandwidthIn = Duration * 'Bits In/sec'
| eval bandwidthOut = Duration * 'Bits Out/sec'
| eval Device:Interface = Device . ":" . Interface
| stats sum(bandwidthIn) AS bandwidthIn sum(bandwidthOut) AS bandwidthOut BY Device:Interface
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Apr 2019 06:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384386#M112261</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-01T06:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384387#M112262</link>
      <description>&lt;P&gt;Thank you so much. &lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 06:21:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384387#M112262</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2019-04-01T06:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384388#M112263</link>
      <description>&lt;P&gt;Hi @woodcock,&lt;/P&gt;

&lt;P&gt;Whats the logic behind multiplying Duration with 'Bits In/Sec' and if we are multiplying with duration then should we not divide it by BW value ? Please suggest. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 08:01:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384388#M112263</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2019-04-02T08:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384389#M112264</link>
      <description>&lt;P&gt;You said you desired &lt;CODE&gt;Bandwidth usage&lt;/CODE&gt;; that is how to calculate usage.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384389#M112264</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-02T15:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: query help with chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384390#M112265</link>
      <description>&lt;P&gt;Ok.. thanks much @woodcock &lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 06:58:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-with-chart/m-p/384390#M112265</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2019-04-03T06:58:02Z</dc:date>
    </item>
  </channel>
</rss>

