Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Output HTTP event adapter is used to send events to a specific Web service location using POST. 

Table of Contents
maxLevel3

Excerpt
hiddentrue

NOTE TO WRITERS: Add the TOC here.

Table of Contents
maxLevel3

Configuring output HTTP event adapter

You can configure the output HTTP event adapter using the management console or using a configuration file.

Anchor
Using the management console
Using the management console
Configure using the management console 

Follow the steps below to configure output HTTP event adapter using the management console. This deploys the event adapter in <PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/ directory.

  1. Log in to the product's management console, and click Configure.
  2. Click Output Event Adaptors in the Event Processor Configs menu, and then click Add Output Event Adaptor.
  3. Enter details as shown in the below example.

    create output HTTP event adapter

  4. Click Add Event Adaptor.

Anchor
Using a configuration file
Using a configuration file
Configure using a configuration file

Follow the steps below to configure output HTTP event adapter using a configuration file.

...

Info

After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI.  Do your modifications and click Update. You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI.

Configuring output HTTP event adapter message properties

The configured output event adapters are used in event formatters. With output event adapter message properties, event formatters are able to extract data from event streams and format the output events. Following are the output HTTP event adapter-specific message properties.

...

The message properties of the output HTTP event adapter are described below.

 

PropertyDescription
HeadersCustom HTTP headers that you want to send with the HTTP post
PasswordHTTP BasicAuth password
UsernameHTTP BasicAuth username
URLThe target HTTP/HTTPS URL
Output Event TypeThe outgoing event type to be mapped. The output HTTP event adapter supports XML, JSON, and text mappings.