<?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 convert byte to Mb in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533679#M36355</link>
    <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229882"&gt;@soheilamiri&lt;/a&gt;, I wrote without testing, below should work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype=fgt_traffic dest=1.1.1.* NOT (src=1.1.1.* OR dest=skyroom.online) bytes_in&amp;gt;0 AND action ="allowed" 
| stats count(srcip) as From sum(bytes_in) as "Total Traffic Receive" values(dstport) as Port by dstip 
| eval "Total Traffic Receive"=round('Total Traffic Receive'/1024/1024,2)
| rename dstip as"DMZ Server"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Dec 2020 20:59:47 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2020-12-20T20:59:47Z</dc:date>
    <item>
      <title>how convert byte to Mb</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533669#M36350</link>
      <description>&lt;P&gt;hello guys&lt;/P&gt;&lt;P&gt;i am new in splunk world, i want to create a report that show total inbound traffic in Mb. here is my search code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype=fgt_traffic dest=1.1.1.* NOT (src=1.1.1.* OR dest=skyroom.online) bytes_in&amp;gt;0 AND action ="allowed"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here is my pivot visual with table entry.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="splunk1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12329i383E93965F4C1CDE/image-size/large?v=v2&amp;amp;px=999" role="button" title="splunk1.JPG" alt="splunk1.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 11:57:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533669#M36350</guid>
      <dc:creator>soheilamiri</dc:creator>
      <dc:date>2020-12-20T11:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: how convert byte to Mb</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533670#M36351</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229882"&gt;@soheilamiri&lt;/a&gt;, please try below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype=fgt_traffic dest=1.1.1.* NOT (src=1.1.1.* OR dest=skyroom.online) bytes_in&amp;gt;0 AND action ="allowed" 
| timechart count(srcip) as From eval(round(sum(bytes_in)/1024/1024,2)) as "Total Traffic Receive" values(dstport) as Port by dstip | rename dstip as"DMZ Server"&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 20 Dec 2020 12:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533670#M36351</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2020-12-20T12:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: how convert byte to Mb</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533672#M36352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for reply. the output of suggested script is not what i aspect.&lt;/P&gt;&lt;P&gt;here is &lt;A title="IMAGE" href="https://1drv.ms/u/s!ArflQPjgP6jEt08eXoePB26-AJYa?e=v33qna" target="_self"&gt;IMAGE&lt;/A&gt;&amp;nbsp; that show more details. the X axis should be dest and the Y axis should be Bytes_in in Mb.&lt;/P&gt;&lt;P&gt;how can i create this chart with my specific visual.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 13:45:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533672#M36352</guid>
      <dc:creator>soheilamiri</dc:creator>
      <dc:date>2020-12-20T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: how convert byte to Mb</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533673#M36353</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229882"&gt;@soheilamiri&lt;/a&gt;, changing timechart command to stats should work;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype=fgt_traffic dest=1.1.1.* NOT (src=1.1.1.* OR dest=skyroom.online) bytes_in&amp;gt;0 AND action ="allowed" 
| stats count(srcip) as From eval(round(sum(bytes_in)/1024/1024,2)) as "Total Traffic Receive" values(dstport) as Port by dstip | rename dstip as"DMZ Server"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this resolves your issue, an upvote is appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 14:02:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533673#M36353</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2020-12-20T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: how convert byte to Mb</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533674#M36354</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i get this error :&amp;nbsp;&lt;/P&gt;&lt;DIV class="alerts search-searchflashmessages"&gt;&lt;DIV class="alert alert-error"&gt;Error in 'stats' command: The argument 'eval(round(sum(bytes_in)/1024/1024,2))' is invalid.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="job-status-container"&gt;&lt;DIV class="shared-jobstatus"&gt;&lt;DIV class="alert alert-error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Dec 2020 14:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533674#M36354</guid>
      <dc:creator>soheilamiri</dc:creator>
      <dc:date>2020-12-20T14:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: how convert byte to Mb</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533679#M36355</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229882"&gt;@soheilamiri&lt;/a&gt;, I wrote without testing, below should work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype=fgt_traffic dest=1.1.1.* NOT (src=1.1.1.* OR dest=skyroom.online) bytes_in&amp;gt;0 AND action ="allowed" 
| stats count(srcip) as From sum(bytes_in) as "Total Traffic Receive" values(dstport) as Port by dstip 
| eval "Total Traffic Receive"=round('Total Traffic Receive'/1024/1024,2)
| rename dstip as"DMZ Server"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 20:59:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533679#M36355</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2020-12-20T20:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: how convert byte to Mb</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533721#M36356</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;thanks for your answer&lt;/P&gt;&lt;P&gt;i customize our code :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype=fgt_traffic dest=0.0.0.0 NOT (src=0.0.0.0 OR dest=test.com) bytes_in&amp;gt;0 NOT action ="blocked" 
| stats  sum(bytes_in) as "Total Traffic Receive" by dstip
| eval "Total Traffic Receive"=round('Total Traffic Receive'/10240/1024,2)
| rename dstip as "DMZ Server"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;it's work perfect.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 10:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-convert-byte-to-Mb/m-p/533721#M36356</guid>
      <dc:creator>soheilamiri</dc:creator>
      <dc:date>2020-12-21T10:43:45Z</dc:date>
    </item>
  </channel>
</rss>

