Joel Hans 46a8075c8f Docs housekeeping for SEO and syntax, part 1 (#10388) 4 years ago
..
Makefile.am 675383b26a Makefile.am files indentation (#7252) 5 years ago
README.md 46a8075c8f Docs housekeeping for SEO and syntax, part 1 (#10388) 4 years ago
aws_kinesis.c 6262597923 Add MongoDB backend (#6524) 5 years ago
aws_kinesis.conf 198c7fa3e3 Add AWS Kinesis backend (#5914) 5 years ago
aws_kinesis.h 198c7fa3e3 Add AWS Kinesis backend (#5914) 5 years ago
aws_kinesis_put_record.cc d79bbbf943 Add an AWS Kinesis connector to the exporting engine (#8145) 5 years ago
aws_kinesis_put_record.h d79bbbf943 Add an AWS Kinesis connector to the exporting engine (#8145) 5 years ago

README.md

Using Netdata with AWS Kinesis Data Streams

Prerequisites

To use AWS Kinesis as a backend AWS SDK for C++ should be installed first. libcrypto, libssl, and libcurl are also required to compile Netdata with Kinesis support enabled. Next, Netdata should be re-installed from the source. The installer will detect that the required libraries are now available.

If the AWS SDK for C++ is being installed from source, it is useful to set -DBUILD_ONLY="kinesis". Otherwise, the building process could take a very long time. Take a note, that the default installation path for the libraries is /usr/local/lib64. Many Linux distributions don't include this path as the default one for a library search, so it is advisable to use the following options to cmake while building the AWS SDK:

cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DBUILD_SHARED_LIBS=OFF -DBUILD_ONLY=kinesis <aws-sdk-cpp sources>

Configuration

To enable data sending to the kinesis backend set the following options in netdata.conf:

[backend]
    enabled = yes
    type = kinesis
    destination = us-east-1

set the destination option to an AWS region.

In the Netdata configuration directory run ./edit-config aws_kinesis.conf and set AWS credentials and stream name:

# AWS credentials
aws_access_key_id = your_access_key_id
aws_secret_access_key = your_secret_access_key

# destination stream
stream name = your_stream_name

Alternatively, AWS credentials can be set for the netdata user using AWS SDK for C++ standard methods.

A partition key for every record is computed automatically by Netdata with the purpose to distribute records across available shards evenly.

[analytics](<>)