Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object execute()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SendEventsToEsCommand

        public SendEventsToEsCommand()
    • Method Detail

      • execute

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