outputs (Analytics)
Syntax
outputs { file { parameters { path file-path; } } kafka { parameters { server ip-address; topic topic-name; encoding encoding-type; } } output-ipfix { parameters { collector-address ip-address; collector-ca-certificate file-path; collector-certificate file-path; collector-certificate-key file-path; collector-connection-retry-interval seconds; collector-tcp-port port-number; collector-vrf-name vrf-name; } } }
Hierarchy Level
[edit services analytics agent service-agents agent-name]
Description
Configure parameters for the Network Telemetry Framework (NTF) agent output plug-in.
When you modify the output plug-in configuration of a service agent instance, the associated service agent daemon is restarted.
Options
file parameters | Configure parameters for sending data in a log file to a data collector. |
path pathname | Path for the log file to which to save the data. For
example, |
kafka parameters | Configure parameters for sending data to a Kafka data collector. |
server ip-address | IP address of the Kafka server. |
topic filename | Kafka topic name. The naming convention of the topic
is server-name.jti.encoding-type. The encoding type options are |
encoding encoding-type | Encoding type. Options are |
output-ipfix parameters | Configure parameters for the IPFIX mediation service agent to send the IPFIX records that have been consolidated on the router to the IPFIX collector. You must configure the IP address of the upstream IPFIX collector.
When you optionally configure at least one of the collector certificate
options ( Note:
Any change you make to an existing |
collector-address ip-address | IP address of the upstream IPFIX collector. |
collector-ca-certificate file-path | (Optional) Path for the certificate, provided by a trusted certificate authority (CA), that is used to sign the peer certificate at the peer (IPFIX collector) level. The certificate is expected to be in .pem container format. |
collector-certificate file-path | (Optional) Path for the client certificate that the server (IPFIX collector) uses to authenticate the client and enable mutual authentication. The fully-qualified domain name (FQDN) of both the client and the server are stored in the certificate’s Subject Alternative Name field when the client and server certificates are generated. The certificate is expected to be in .pem container format. |
collector-certificate-key file-path | (Optional) Private key file that is loaded to decrypt the encrypted message sent from the peer. |
collector-connection-retry-interval seconds | (Optional) Interval in seconds at which the output plug-in retries connecting to the IPFIX collector.
|
collector-tcp-port port-number | (Optional) Number of the TCP port used to connect to the IPFIX collector.
|
collector-vrf-name vrf-name | (Optional) Name of the VRF (routing instance) in which IPFIX packets are routed.
|
Required Privilege Level
system
Release Information
Statement introduced in Junos OS Release 18.3R1.
kafka
and file
options added in Junos
OS Release 18.4R1 on MX Series and PTX Series routers.