Class OnmsHistoricEventsToEs


  • public class OnmsHistoricEventsToEs
    extends Object
    takes events from OpenNMS historic events through the OpennMS rest interface and sends them to Elasticsearch using the same queue as live incoming events use.
    Author:
    admin
    • Constructor Detail

      • OnmsHistoricEventsToEs

        public OnmsHistoricEventsToEs()
    • Method Detail

      • getOnmsUrl

        public String getOnmsUrl()
      • setOnmsUrl

        public void setOnmsUrl​(String onmsUrl)
      • getOnmsUserName

        public String getOnmsUserName()
      • setOnmsUserName

        public void setOnmsUserName​(String onmsUserName)
      • getOnmsPassWord

        public String getOnmsPassWord()
      • setOnmsPassWord

        public void setOnmsPassWord​(String onmsPassWord)
      • setEventForwarder

        public void setEventForwarder​(EventForwarder eventForwarder)
      • getLimit

        public Integer getLimit()
      • setLimit

        public void setLimit​(Integer limit)
      • getOffset

        public Integer getOffset()
      • setOffset

        public void setOffset​(Integer offset)
      • getUseNodeLabel

        public boolean getUseNodeLabel()
      • setUseNodeLabel

        public void setUseNodeLabel​(boolean useCache)
      • setLogSize

        public void setLogSize​(int logSize)
      • sendEventsToEs

        public String sendEventsToEs()
        sends events to Elasticsearch returns true if successful
        Returns: