<?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: Bandwidth usage from Firewall in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540934#M153099</link>
    <description>&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal
| eval count = (count)."g"
| convert memk(count) as gigabyte&lt;/LI-CODE&gt;&lt;P&gt;It was the opposite, wasn't it?&lt;BR /&gt;Please do the eval twice.&lt;/P&gt;&lt;P&gt;eval Sent = bytes_out /1024/1024/1024&lt;/P&gt;&lt;P&gt;eval Received = byte_in /1024 /1024 /1024&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2021 00:14:46 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2021-02-23T00:14:46Z</dc:date>
    <item>
      <title>Bandwidth usage from Firewall</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540926#M153095</link>
      <description>&lt;P&gt;I'm looking to create a bandwidth chart showing the bandwidth traffic our firewall over a time period and converting the data from bytes to GB.&amp;nbsp; Currently this is the search I'm running:&lt;/P&gt;&lt;P&gt;index=firewall host="HQ-5020-1.firstagain.local"&lt;BR /&gt;| stats sum(bytes_in) as Received,sum(bytes_out) as Sent by dest_interface&lt;BR /&gt;| rename dest_interface as Interface&lt;BR /&gt;| eval Bandwidth=round(bytes_in/1024/1024/1024,2)&lt;BR /&gt;| eval Bandwidth=Received + Sent&lt;/P&gt;&lt;P&gt;However the conversion is not working and I cannot figure out how to get the time period to work.&amp;nbsp; It shows the interface but when I try a visualization, I only see the 1 data point where I would like to see either an "over time" type of graph.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 23:41:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540926#M153095</guid>
      <dc:creator>jparrenas26</dc:creator>
      <dc:date>2021-02-22T23:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bandwidth usage from Firewall</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540929#M153096</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=firewall host="HQ-5020-1.firstagain.local"
| stats sum(bytes_in) as Received,sum(bytes_out) as Sent by dest_interface
``` bytes_in field is gone.```
| rename dest_interface as Interface

| convert memg(Recieved) memg(Sent)

| eval Bandwidth=round(Received + Sent,2)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 22 Feb 2021 23:47:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540929#M153096</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2021-02-22T23:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bandwidth usage from Firewall</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540931#M153097</link>
      <description>&lt;P&gt;Thank you for the quick response.&amp;nbsp; I tried the memg command but I'm receiving an error:&amp;nbsp;&lt;SPAN&gt;Error in 'convert' command: The conversion type 'memg' is invalid. The only one that works is memk.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 00:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540931#M153097</guid>
      <dc:creator>jparrenas26</dc:creator>
      <dc:date>2021-02-23T00:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bandwidth usage from Firewall</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540934#M153099</link>
      <description>&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal
| eval count = (count)."g"
| convert memk(count) as gigabyte&lt;/LI-CODE&gt;&lt;P&gt;It was the opposite, wasn't it?&lt;BR /&gt;Please do the eval twice.&lt;/P&gt;&lt;P&gt;eval Sent = bytes_out /1024/1024/1024&lt;/P&gt;&lt;P&gt;eval Received = byte_in /1024 /1024 /1024&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 00:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540934#M153099</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2021-02-23T00:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bandwidth usage from Firewall</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540938#M153101</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Splunk_PRTG.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13019iCF0B7AB30FE605D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Splunk_PRTG.jpg" alt="Splunk_PRTG.jpg" /&gt;&lt;/span&gt;The first query seemed to be more of what we were looking for.&amp;nbsp; I've added a screenshot from our monitoring software, and we're looking for something similar to this as a dashboard.&amp;nbsp; &amp;nbsp;My mistake on not adding this sooner.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So basically this portion: index=firewall host="HQ-5020-1.firstagain.local" dest_interface=ethernet1/12&amp;nbsp;&lt;BR /&gt;would be used to show the bytes in and bytes out, and then the total bytes would be calculated to show the amount of bandwidth used.&amp;nbsp; This would be represented on the chart in Mb.&amp;nbsp; I know it's asking much, but let me know what other information is needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 00:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540938#M153101</guid>
      <dc:creator>jparrenas26</dc:creator>
      <dc:date>2021-02-23T00:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bandwidth usage from Firewall</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540939#M153102</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=firewall host="HQ-5020-1.firstagain.local"
| bin _time span=1min
| stats sum(bytes_in) as Received,sum(bytes_out) as Sent by _time dest_interface
| rename dest_interface as Interface
| eval Received=Received / 1024 / 1024, Sent = Sent / 1024 / 1024
| eval Bandwidth=round(Received + Sent,2)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Viz &amp;gt;&amp;gt; Line Chart with&amp;nbsp; trellis by Interface&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal by _time span=1h sourcetype
| fields - count
| eval bytes_out=random() / 1024 , bytes_in=random() / 1024
| stats sum(bytes_out) as Sent sum(bytes_in) as Received by _time sourcetype
| rename sourcetype as Interface
| eval Bandwidth = round( Sent + Received , 2)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 23 Feb 2021 01:00:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540939#M153102</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2021-02-23T01:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bandwidth usage from Firewall</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540940#M153103</link>
      <description>&lt;P&gt;Perfect, that is exactly what we were looking for.&amp;nbsp; Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 01:04:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bandwidth-usage-from-Firewall/m-p/540940#M153103</guid>
      <dc:creator>jparrenas26</dc:creator>
      <dc:date>2021-02-23T01:04:40Z</dc:date>
    </item>
  </channel>
</rss>

