# Kibana dashboard for Interface Traffic analysis

**URL:** <https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204>\
**Category:** Kibana\
**Created:** [July 24, 2015, 5:20am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204 "2015-07-24T05:20:28Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [July 24, 2015, 5:20am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/1 "2015-07-24T05:20:28Z")

</div>

Hi,

I would like to monitor the traffic pattern in Kibana. Is there any pre-configured example dashboard available?. As I could monitor only bytes count. But I need to monitor the traffic in terms of bits/sec [tools like MRTG / Cacti and so on].

Thanks

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 28, 2015, 4:34am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/2 "2015-07-28T04:34:53Z")

</div>

I'm not sure I completely understand the question. What is your source of data into Elasticsearch (e.g. which Logstash input, if you're using Logstash)? Pre-configured dashboards only really make sense with known log file formats and other standardized inputs.

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [July 28, 2015, 4:49am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/3 "2015-07-28T04:49:26Z")

</div>

My source data is from ntop for analyzing interface traffic.

There is no problem on inserting the value in Elasticsearch. my requirement is to visualize the interface bandwidth in bits/sec instead of bytes in Kibana. Is there any option available there ?.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 28, 2015, 5:10am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/4 "2015-07-28T05:10:41Z")

</div>

Gotcha. No, there are no built-in dashboards for that at the moment.

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [July 28, 2015, 5:52am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/5 "2015-07-28T05:52:55Z")

</div>

Okay. Any planning to implement the same in future release ?.

And one more doubt, Is it possible to do bytes to bits conversion on Scripted field section on Kibana 4 ?.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 28, 2015, 1:35pm UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/6 "2015-07-28T13:35:40Z")

</div>

There is definitely a possibility of something out-of-the-box in the future. We will be adding "recipes" and "apps" on top of the ELK stack in the future, so having something out-of-the-box for ntop is certainly a possibility.

For now, I see that there is a recent blog post on the ntop website describing how to monitor its traffic with ELK:

> **[Exploring your traffic using ntopng with ElasticSearch+Kibana](https://www.ntop.org/ntopng/exploring-your-traffic-using-ntopng-with-elasticsearchkibana/)**
>
> ntopng allows you to export monitoring data do external sources. For low-traffic sites, SQLite and the ntopng historical interface can be a good option. As your traffic increases you are forced to …

Regarding bytes conversions with scripted fields -- if you're talking about taking a numeric field and multiplying it by 8 to convert from bytes to bits, it should absolutely be possible.

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [July 28, 2015, 2:51pm UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/7 "2015-07-28T14:51:00Z")

</div>

Yeah 😄 already My setup is up and running based on the link you shared. All the data are visualized without any issue in ELK stack. Current concern right now is to expose the bytes data in kibana in terms of bits/sec.

I'm trying out with the same on Scripted field section on Kibana. lets see. 😉

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [July 31, 2015, 10:49am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/8 "2015-07-31T10:49:14Z")

</div>

@tbragin Can you please share me the example scripted data field for bytes to bits conversion ? I tried locally. But couldn't get it done.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 31, 2015, 3:16pm UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/9 "2015-07-31T15:16:25Z")

</div>

Sure - If your bytes field is called "IN\_BYTES", you can use the following script:  
`
doc['IN_BYTES'].value*8
`

Some screenshots below from my environment (my bytes field is called 'bytes')

 ![](https://us1.discourse-cdn.com/elastic/original/2X/5/52bb06e9d2926e98630bc07d8538562b2cc7f59e.png)

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/86af534ddce2b823a7d3fcd621e9361522be03cf.png)

 ![](https://us1.discourse-cdn.com/elastic/original/2X/4/4e10c27b7c64cab1fa7202629270325012a2d3cb.png)

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [August 1, 2015, 5:45am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/10 "2015-08-01T05:45:11Z")

</div>

Thank you so much. I will have it check like you mentioned below

Tanya Bragin [noreply@discuss.elastic.co](mailto:noreply@discuss.elastic.co) wrote:

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [August 1, 2015, 8:00am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/11 "2015-08-01T08:00:25Z")

</div>

@tbragin , Yes I checked in my local env. Its working great.

One more question, How can I do adjustment for showing the Y axis values in terms of KB,MB and GB instead of showing raw value. ?. Its so hard to understand and also have to do manual calculation for converting those raw value into KB/MB/GB.

But, Kibana 3 is doing those stuff automatically [showing up the value interms of KB, MB and GB].

Does Kibana 4 have those stuff internally ?. If it doesn't have such option, please let me know any way to achieve that.

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [August 3, 2015, 6:23am UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/12 "2015-08-03T06:23:04Z")

</div>

Any idea on this ?.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [August 4, 2015, 1:39pm UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/13 "2015-08-04T13:39:56Z")

</div>

You can use field formatters - check out this video: [https://www.elastic.co/blog/kibana-4-1-field-formatters](https://www.elastic.co/blog/kibana-4-1-field-formatters)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:15pm UTC](https://discuss.elastic.co/t/kibana-dashboard-for-interface-traffic-analysis/26204/14 "2017-07-06T14:15:23Z")

</div>


