Sign inSign up

tractr/logstash-input-cloudwatch

By tractr

Updated about 4 years ago

https://github.com/tractr/docker-images/tree/main/workers/logstash-input-cloudwatch

Image
0

50K+

tractr/logstash-input-cloudwatch repository overview

Logstash with Cloudwatch plugin

Logstash image with Cloudwatch plugins installed.

Source code on Github

https://github.com/tractr/docker-images/tree/main/workers/logstash-input-cloudwatch

Installed plugins

Plugin logstash-input-cloudwatch

Get metrics from Cloudwatch.

See https://www.elastic.co/guide/en/logstash/current/plugins-cloudwatch.html for more information.

input {
    cloudwatch {
        access_key_id => "AKXXXXXXXXX"
        secret_access_key => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        namespace => "AWS/ECS"
        metrics => ["CPUUtilization", "MemoryUtilization"]
        filters => {"ClusterName" => "production-cluster"}
        region => "us-east-1"
    }
}

For more information about available metrics: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html

Plugin logstash-input-cloudwatch_logs

Get logs from Cloudwatch.

See https://github.com/lukewaite/logstash-input-cloudwatch-logs

Configuration example:

input {
    cloudwatch_logs {
        access_key_id => "AKXXXXXXXXX"
        secret_access_key => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        log_group => "sample-logs-group"
        region => "us-east-1"
    }
}
Parameters
ParameterInput TypeRequiredDefault
log_groupstring or Array of stringsYes
log_group_prefixbooleanNofalse
start_positionbeginning, end, or an IntegerNobeginning
sincedb_pathstringNo$HOME/.sincedb*
intervalnumberNo60
aws_credentials_filestringNo
access_key_idstringNo
secret_access_keystringNo
session_tokenstringNo
regionstringNous-east-1
codecstringNoplain

Tag summary

Content type

Image

Digest

sha256:c0cf4fd4c

Size

421.5 MB

Last updated

about 4 years ago

docker pull tractr/logstash-input-cloudwatch