Class SendEventsToEsCommand
- java.lang.Object
-
- org.opennms.plugins.elasticsearch.rest.archive.SendEventsToEsCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
public class SendEventsToEsCommand extends java.lang.Object implements org.apache.karaf.shell.api.action.Action
Command example:
opennms:send-events-to-elasticsearch 100 0 admin admin http://localhost:8980 false
This retrieves 110 alarms from the local machine using the local node cache for node label.
Command example:
opennms:send-events-to-elasticsearch 100 0 demo demo http://demo.opennms.org true
This retrieves 110 alarms from the remote machine using the node label.
- Author:
- Craig Gallen
-
-
Constructor Summary
Constructors Constructor Description SendEventsToEsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute()
-