mqtt2elasticsearch

1.0.1 • Public • Published

mqtt2elasticsearch

mqtt-smarthome NPM version Dependency Status Build Status XO code style License

Send MQTT messages to Elasticsearch

Install

$ sudo npm install -g mqtt2elasticsearch

Usage

Usage: mqtt2elasticsearch [options]

Options:
  -e, --elastic-url     elasticsearch url     [default: "http://localhost:9200"]
  -v, --verbosity       possible values: "error", "warn", "info", "debug"
                                                               [default: "info"]
  -n, --name            instance name. used as connected topic and client id
                        prefix                        [default: "elasticsearch"]
  -u, --url             mqtt broker url. May contain user/password
                                                   [default: "mqtt://localhost"]
  -m, --mqtt-smarthome  parse mqtt-smarthome payloads                  [boolean]
  -s, --subscribe       mqtt topic to subscribe. may be repeated      [required]
  -h, --help            Show help                                      [boolean]
  -k, --insecure        allow tls connections with invalid certificates[boolean]
  --version             Show version number                            [boolean]
  -i, --index                                                  [default: "mqtt"]
  -t, --type                                                   [default: "mqtt"]

Example: $ mqtt2elasticsearch -s '#'

License

MIT © Sebastian Raff

Package Sidebar

Install

npm i mqtt2elasticsearch

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

9.03 kB

Total Files

7

Last publish

Collaborators

  • hobbyquaker