elasticsearch-cloudwatch

An Elasticserch plugin which pushes node statistics to AWS Cloudwatch

Лицензия

Лицензия

Категории

Категории

Search Прикладные библиотеки Elasticsearch
Группа

Группа

com.gu
Идентификатор

Идентификатор

elasticsearch-cloudwatch
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

elasticsearch-cloudwatch
An Elasticserch plugin which pushes node statistics to AWS Cloudwatch
Ссылка на сайт

Ссылка на сайт

https://github.com/guardian/elasticsearch-cloudwatch
Система контроля версий

Система контроля версий

https://github.com/guardian/elasticsearch-cloudwatch

Скачать elasticsearch-cloudwatch

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.gu/elasticsearch-cloudwatch/ -->
<dependency>
    <groupId>com.gu</groupId>
    <artifactId>elasticsearch-cloudwatch</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.gu/elasticsearch-cloudwatch/
implementation 'com.gu:elasticsearch-cloudwatch:1.1'
// https://jarcasting.com/artifacts/com.gu/elasticsearch-cloudwatch/
implementation ("com.gu:elasticsearch-cloudwatch:1.1")
'com.gu:elasticsearch-cloudwatch:jar:1.1'
<dependency org="com.gu" name="elasticsearch-cloudwatch" rev="1.1">
  <artifact name="elasticsearch-cloudwatch" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gu', module='elasticsearch-cloudwatch', version='1.1')
)
libraryDependencies += "com.gu" % "elasticsearch-cloudwatch" % "1.1"
[com.gu/elasticsearch-cloudwatch "1.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.8.2
org.elasticsearch : elasticsearch jar 1.7.1
com.amazonaws : aws-java-sdk jar 1.10.16

Модули Проекта

Данный проект не имеет модулей.

elasticsearch-cloudwatch

This is an Elasticsearch plugin which posts ES stats to CloudWatch.

Generating the installable plugin

To generate the plugin for installation you need to use maven:

$ mvn clean package

Installing the plugin

Install it from the Elasticsearch installation directory, by running (change the location of your file):

$ bin/plugin -url https://github.com/guardian/elasticsearch-cloudwatch/releases/download/1.2/elasticsearch-CloudwatchPlugin-1.2.zip -install CloudwatchPlugin

To uninstall it you can run:

$ bin/plugin -remove CloudwatchPlugin

Configuring the plugin

The plugin has some options that you can configure in the elasticsearch.yml:

  • metrics.cloudwatch.enabled: To enable or disable the plugin itself. True by default.
  • metrics.cloudwatch.aws.region: Which region to use, of the AWS account. Default is eu-west-1
  • metrics.cloudwatch.frequency: How often to post stats. Default is "1m", every minute.
  • metrics.cloudwatch.index_stats_enabled: To enable or disable stats per index. You don't want the explosion of metrics if you have too many indexes, such as for example with Logstash where there is an index per day. False by default.
  • metrics.cloudwatch metrics.cloudwatch.namespace: To set the cloudwatch namespace of the metric.

AWS Credentials

  • metrics.cloudwatch.aws.access_key
  • metrics.cloudwatch.aws.secret_key

If these keys aren't set, the plugin will attempt to use system properties, environment variables and IAM role credentials if available.

Acknowledgements

This plugin is forked from https://github.com/9apps/elasticsearch-cloudwatch

com.gu

The Guardian

The source code of the world's leading liberal voice

Версии библиотеки

Версия
1.1
1.0