Preparing to send data to a generic HTTP server
To send data from the Z Common Data Provider to a generic HTTP server, review the following information.
About this task
A generic HTTP subscriber is an application that can receive data that is sent by using an
HTTP POST
request. An example of a generic HTTP subscriber is a Logstash event processing pipeline that is configured with an HTTP input that uses the JavaScript Object Notation (JSON) codec. For more information, see Subscriber configuration.
The body of the HTTP POST request is a JSON object with the following members:
- host
- The TCP/IP host name of the system from which the data originates.
- path
- The virtual path of the data, which can be a real file path, such as /home/etc/cdpConfig.log or a virtual file path, such as SMF/SMF_030.
- sourceType
- The type of the data.
- sourceName
- A name that is associated with the data stream.
- timezone
- The base time zone offset for the timestamp in the data.
- systemName
- The name of the system from which the data originates, as it is defined to the z/OS® system.
- sysplexName
- The name of the sysplex from which the data originates, as it is defined to the z/OS system.
- message
- The data itself. Depending on whether the data was split, this value might be one string or an array of strings.