https://github.com/active-group/active-riemann
A library with common Riemann functionality that is useful in many Riemann setups.
https://github.com/active-group/active-riemann
Last synced: 12 months ago
JSON representation
A library with common Riemann functionality that is useful in many Riemann setups.
- Host: GitHub
- URL: https://github.com/active-group/active-riemann
- Owner: active-group
- Created: 2020-05-18T12:52:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T14:13:04.000Z (over 2 years ago)
- Last Synced: 2025-05-28T21:51:43.740Z (about 1 year ago)
- Language: Clojure
- Size: 43 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# active-riemann
A library with common Riemann functionality that is useful in many Riemann
setups.
[](https://clojars.org/de.active-group/active-riemann)
## Usage
Use
```
lein jar
```
to generate a JAR file under `target/`. Move this JAR file into your Riemann
configuration directory.
Then you can use
```
;; add implementation to classpath
(require '[cemerick.pomegranate :as pomegranate])
(pomegranate/add-classpath "active-riemann-0.1.0-SNAPSHOT.jar")
```
to include the library in your Riemann configuration file.
Now you can use the provided functionality:
### Elasticsearch connector
```
(require '[active-riemann.elasticsearch :as elasticsearch])
(elasticsearch/make-elasticsearch-stream elasticsearch-url index-base-name)
```
The Elasticsearch connector provides retry via single submit when batch
submitting fails and prints debugging information if single submit also fails.
### InfluxDB connector
```
(require '[active-riemann.influxdb :as influxdb])
(influxdb/make-influxdb-stream influxdb-host db-nbame tag-fields)
```
## License
Copyright © 2020 Active Group GmbH
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.