hubot-elasticsearch-logger
v1.0.1
Published
Hubot script for logging chats to Elasticsearch
Maintainers
Readme
hubot-elasticsearch-logger
Hubot script for logging chats to Elasticsearch
Installation
npm install --save hubot-elasticsearch-loggerAdd the script to your external-scripts.json file:
[
"hubot-elasticsearch-logger"
]Configuration
The script is configured using the following environment variables:
|Variable|Description|Default|
|--------|-----------|-------|
|HUBOT_ELASTICSEARCH_LOGGER_HOST|The Elasticsearch host|127.0.0.1|
|HUBOT_ELASTICSEARCH_LOGGER_PORT|The Elasticsearch port|9200|
|HUBOT_ELASTICSEARCH_LOGGER_INDEX|The index to use for storing chats. Any Moment.js format patterns wrapped in ${} will be replaced with the current date to support time-based indices|hubot-${YYYY-MM-DD}|
