HTTP Router

Supported pipeline types:
  • Data Collector

The HTTP Router processor passes records to data streams based on the HTTP method and URL path in the record header attributes. For information about supported versions, see Supported Systems and VersionsSupported Systems and Versions in the Data Collector documentation.
You can use the HTTP Router processor in pipelines with origins that create the following record header attributes:
  • method - The HTTP method for the request, such as GET, POST, or DELETE.
  • path - The path of the URL.

The HTTP Server origin and the REST Service origin generate these record header attributes. For example, in a microservice pipeline you might use the HTTP Router processor to pass data from the REST Service origin based on the method and path in record header attributes.

When you configure the HTTP Router processor, you define data streams by identifying the method and the path found in the record header attributes of records that you want included in the stream. If an input record does not have record header attributes that match a defined stream, the processor applies error handling to the record.