public class SendEventsToEsCommand extends 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.
Constructor and Description |
---|
SendEventsToEsCommand() |
public Object execute()
execute
in interface org.apache.karaf.shell.api.action.Action
Copyright © 2021. All rights reserved.