Class SplunkHecResource

java.lang.Object
org.apache.camel.quarkus.component.splunk.hec.it.SplunkHecResource

@Path("/splunk-hec") @ApplicationScoped public class SplunkHecResource extends Object
  • Field Details

    • producer

      @Inject org.apache.camel.ProducerTemplate producer
    • hecPort

      Integer hecPort
    • host

      String host
    • index

      String index
    • token

      String token
  • Constructor Details

    • SplunkHecResource

      public SplunkHecResource()
  • Method Details

    • send

      @Path("/send") @POST @Produces("text/plain") public String send(String data, @QueryParam("indexTime") Long indexTime)