Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hobbyquaker/mqtt2elasticsearch
Send MQTT messages to Elasticsearch
https://github.com/hobbyquaker/mqtt2elasticsearch
elasticsearch log mqtt smarthome
Last synced: 2 months ago
JSON representation
Send MQTT messages to Elasticsearch
- Host: GitHub
- URL: https://github.com/hobbyquaker/mqtt2elasticsearch
- Owner: hobbyquaker
- License: mit
- Created: 2018-03-24T10:20:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-24T10:31:25.000Z (almost 7 years ago)
- Last Synced: 2024-10-13T01:13:32.756Z (4 months ago)
- Topics: elasticsearch, log, mqtt, smarthome
- Language: JavaScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mqtt2elasticsearch
[![mqtt-smarthome](https://img.shields.io/badge/mqtt-smarthome-blue.svg)](https://github.com/mqtt-smarthome/mqtt-smarthome)
[![NPM version](https://badge.fury.io/js/mqtt2elasticsearch.svg)](http://badge.fury.io/js/mqtt2elasticsearch)
[![Dependency Status](https://img.shields.io/gemnasium/hobbyquaker/mqtt2elasticsearch.svg?maxAge=2592000)](https://gemnasium.com/github.com/hobbyquaker/mqtt2elasticsearch)
[![Build Status](https://travis-ci.org/hobbyquaker/mqtt2elasticsearch.svg?branch=master)](https://travis-ci.org/hobbyquaker/mqtt2elasticsearch)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![License][mit-badge]][mit-url]> 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](https://github.com/hobbyquaker)
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: LICENSE