The CDAP log appender is responsible for the logs transfer to the CDAP platform. Logs are stored in a stream that is specified by the stream configuration parameter.
The easiest way to create a CDAP log appender for your application is by using Admin UI.
It is also possible to create a CDAP log appender for your application by using REST API. The following example illustrates how to provision the CDAP log appender via REST API.
The CDAP log appender configuration should match the following Avro schema.
The following configuration example matches the previous schema.
The following REST API call example illustrates how to create a new CDAP log appender.