Class SendEventsToEsCommand

  • All Implemented Interfaces:
    org.apache.karaf.shell.api.action.Action

    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.

    Author:
    Craig Gallen
    • Constructor Detail

      • SendEventsToEsCommand

        public SendEventsToEsCommand()
    • Method Detail

      • execute

        public Object execute()
        Specified by:
        execute in interface org.apache.karaf.shell.api.action.Action