1.0.1 • Published 8 years ago

hubot-elasticsearch-logger v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

hubot-elasticsearch-logger

Build Status

Hubot script for logging chats to Elasticsearch

Installation

npm install --save hubot-elasticsearch-logger

Add the script to your external-scripts.json file:

[
  "hubot-elasticsearch-logger"
]

Configuration

The script is configured using the following environment variables:

VariableDescriptionDefault
HUBOT_ELASTICSEARCH_LOGGER_HOSTThe Elasticsearch host127.0.0.1
HUBOT_ELASTICSEARCH_LOGGER_PORTThe Elasticsearch port9200
HUBOT_ELASTICSEARCH_LOGGER_INDEXThe index to use for storing chats. Any Moment.js format patterns wrapped in ${} will be replaced with the current date to support time-based indiceshubot-${YYYY-MM-DD}