"Fossies" - the Fresh Open Source Software Archive

Member "opennms-31.0.8/features/opennms-es-rest/README.md" (9 May 2023, 1042 Bytes) of package /linux/misc/opennms-31.0.8-source.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

OpenNMS Elasticsearch 2 ReST Plugin

Maven Project

project groupId: org.opennms.plugins
project name:    opennms-es-rest

Description

This project sends opennms data to Elasticsearch using the Jest ReST library (https://github.com/searchbox-io/Jest)

To install in OpenNMS

Open the karaf command prompt using ~~~~ ssh -p 8101 admin@localhost

(or ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no if no host checking wanted) ~~~~

To install the feature in karaf use


karaf@root> feature:addurl mvn:org.opennms.features/org.opennms.features.opennms-es-rest/XX.X.X-SNAPSHOT/xml/features
karaf@root> feature:install opennms-es-rest

(or feature:install opennms-es-rest/XX.X.X-SNAPSHOT for a specific version of the feature)

Example searches to use in Kibana Sense ~~~~ GET /opennms-events-*/_search

GET /opennms-events-raw*/_search

DELETE /opennms-events-*/

GET /opennms-events-raw*/

GET /.kibana/_search

GET _template/eventsindextemplate

DELETE _template/eventsindextemplate

~~~~