java.lang.Object
com.github.eventmanager.processors.EnrichingProcessor
All Implemented Interfaces:
Processor

public class EnrichingProcessor extends Object implements Processor
The EnrichingProcessor class is responsible for enriching event data with additional metadata.

It enriches event data with the information such as hostname, IP address, thread name, and thread ID.

  • Constructor Details

    • EnrichingProcessor

      public EnrichingProcessor()
  • Method Details

    • processKV

      public String processKV(String event)
      Description copied from interface: Processor
      Processes a key-value formatted event.
      Specified by:
      processKV in interface Processor
      Parameters:
      event - the key-value formatted event string.
      Returns:
      the processed event string.
    • processJSON

      public String processJSON(String event)
      Description copied from interface: Processor
      Processes a JSON formatted event.
      Specified by:
      processJSON in interface Processor
      Parameters:
      event - the JSON formatted event string.
      Returns:
      the processed event string.
    • processXML

      public String processXML(String event)
      Description copied from interface: Processor
      Processes an XML formatted event.
      Specified by:
      processXML in interface Processor
      Parameters:
      event - the XML formatted event string.
      Returns:
      the processed event string.