Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

streaming-servers

Syntax

Hierarchy Level

Description

Configure remote servers to receive streaming output for the network analytics monitoring of traffic and queue statistics. The streaming function supports TCP connections only, and sends records separated by a newline character.

Note:

Before you use the remote server to receive streaming data, you must set up the TCP server software to process records that are separated by the newline character (\n).

You can configure multiple servers and multiple ports on each server to receive the streaming data. You can configure different streaming data types and formats for different ports on a server, but you can configure only one streaming type and one format for each port on a server.

Options

address ip-address

IP address of the remote server receiving the streaming data.

port number

Port number of the remote server receiving the streaming data.

stream-format format

Format of the streaming data being sent to a server. Only one format can be sent to each port on a server.

  • Values:

    • csv—Comma-separated Values (CSV). Records sent in this format contain a “q” for a queue statistics, or a “t” for a traffic statistics.

    • json—JavaScript Object Notification (JSON). Records sent in this format contain “queue-statistics” or “traffic-statistics” in the “record type” field.

    • tsv—Tab-separated Values (TSV). Records sent in this format contain a “q” for a queue statistics, or a “t” for a traffic statistics.

stream-type type

Type of streaming data sent to a port. You can specify different types of streaming data to be sent to different ports on the same server.

  • Values:

    • queue-statistics

    • traffic-statistics

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 13.2.