Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Understanding Network Analytics Streaming Data

This topic describes the network analytics queue and traffic statistics that are streamed to remote servers.

You can configure one or more remote servers to receive streamed data containing queue and traffic statistics. The format of the streamed data can be Javascript Object Notation (JSON), Comma-separated Values (CSV), or Tab-separated Values (TSV).

Note: The output shown in this topic applies to Junos OS Release 13.2X51-D10 only. The time is displayed in the Unix epoch format (also known as Unix time or POSIX time).

The following examples show the streamed queue statistics data output in different formats.

  • JSON format:
    {"record-type":"queue-stats","time":1383453988263,"router-id":"qfx5100-switch",
    "port":"xe-0/0/18","latency":0,"queue-depth":208}
  • CSV format:
    q,1383454067604,qfx5100-switch,xe-0/0/18,0,208
  • TSV format:
    q       585870192561703872      qfx5100-switch       xe-0/0/18       (null)  
    208     2

Table 1 describes the output fields for streamed queue statistics data in the order they appear.

Table 1: Streamed Queue Statistics Data Output Fields

Field

Description

record-type

Type of statistics. Displayed as:

  • queue-stats (JSON format)
  • q (CSV or TSV format)

time

Time (in Unix epoch format) at which the statistics were captured.

router-id

ID of the network analytics host device.

port

Name of the physical port configured for network analytics.

latency

Traffic queue latency in milliseconds.

queue depth

Depth of the traffic queue in bytes.

The following examples show the streamed traffic statistics data output in different formats.

  • JSON format:
    {"record-type":"traffic-stats","time":1383453986763,"router-id":"qfx5100-switch",
    "port":"xe-0/0/16","rxpkt":26524223621,"rxpps":8399588,"rxbyte":3395100629632,
    "rxbps":423997832,"rxdrop":0,"rxerr":0,"txpkt":795746503,"txpps":0,"txbyte":101855533467,
    "txbps":0,"txdrop":0,"txerr":0}
  • CSV format:
    t,1383454072924,qfx5100-switch,xe-0/0/19,1274299748,82950,163110341556,85603312,0,0,
    27254178291,8300088,3488534810679,600002408,27268587050,3490379142400
  • TSV format:
    t       1383454139025   qfx5100-switch  xe-0/0/19       1279874033      82022 
    163823850036    84801488        0       0       27811618258     8199630 
    3559887126455   919998736       27827356915     3561901685120

Table 2 describes the output fields for streamed traffic statistics data in the order they appear.

Table 2: Streamed Traffic Statistics Data Output Fields

Field

Description

record-type

Type of statistics. Displayed as:

  • traffic-stats (JSON format)
  • t (CSV or TSV format)

time

Time (in Unix epoch format) at which the statistics were captured.

router-id

ID of the network analytics host device.

port

Name of the physical port configured for network analytics.

rxpkt

Total packets received.

rxpps

Total packets received per second.

rxbyte

Total bytes received.

rxbps

Total bytes received per second.

rxdrop

Total incoming packets dropped.

rxerr

Total packets with errors.

txpkt

Total packets transmitted.

txpps

Total packets transmitted per second.

txbyte

Total bytes transmitted.

txbps

Total bytes transmitted per second.

txdrop

Total transmitted bytes dropped.

txerr

Total transmitted packets with errors (dropped).

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23