An open API service indexing awesome lists of open source software.

https://github.com/sematext/logagent-input-elasticsearch-stats

Monitoring for Elasticsearch with Logagent
https://github.com/sematext/logagent-input-elasticsearch-stats

elasticsearch logagent monitoring plugin

Last synced: 20 days ago
JSON representation

Monitoring for Elasticsearch with Logagent

Awesome Lists containing this project

README

          

# logagent-input-elasticsearch-stats

Plugin to collect Elasticsearch stats

## Install logagent 2.x

```
npm i -g @sematext/logagent
```

## Install logagent-input-elasticsearch-stats plugin

```
npm i -g logagent-input-elasticsearch-stats
```

## Configure logagent

```
input:
elasticsearchStats:
module: logagent-input-elasticsearch-stats
url: 'http://localhost:9200'
debug: false
nodesStats: true
skipIndexStats: false

output:
elasticsearch:
url: http://localhost:9200
index: logs

# global options
options:
includeOriginalLine: false
printStats: 60

```

## Start logagent

```
logagent --config myconfig.yml
```