ockafka

command
v0.0.0-...-a6d58bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

ockafka

Client for the gRPC OpenConfig service for subscribing to the configuration and state of a network device and feeding the stream to Kafka.

Sample usage

Subscribe to all updates on the Arista device at 10.0.1.2 and stream to a local Kafka instance:

ockafka -addrs 10.0.1.2

Subscribe to temperature sensors from 2 switches and stream to a remote Kafka instance:

ockafka -addrs 10.0.1.2,10.0.1.3 -kafkaaddrs kafka:9092 -subscribe /Sysdb/environment/temperature/status/tempSensor

Start in a container:

docker run aristanetworks/ockafka -addrs 10.0.1.1 -kafkaaddrs kafka:9092

Kafka/Elastic integration demo

The following video demoes integration with Kafka and Elastic using this Logstash instance:

video preview

Documentation

Overview

The occlient tool is a client for the gRPC service for getting and setting the OpenConfig configuration and state of a network device.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL