The Couchbase log appender is responsible for transferring logs from the Operations server to the Couchbase storage. Logs are stored in document storage.
Each log document consists of the following fields:
Values are stored as serialized Generic Records using record wrapper avro schema.
The easiest way to create a Couchbase log appender for your application is by using Admin UI.
It is also possible to create a Couchbase log appender for your application by using REST API. The following example illustrates how to provision the Couchbase log appender via REST API.
The Couchbase 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 Couchbase log appender.
1.Download and install Couchbase by following link: http://developer.couchbase.com/documentation/server/current/getting-started/installing.html#installing
2. After successful installation open http://%your_host_name%:8091/.
You should see something like that:
3.Go to Admin UI and add a Couchbase log appender to Data Collection demo application.
4.Define a url and bucket which will be used for receiving logs.
5.Go to sandbox and download binary for testing appender:
Use instruction from sandbox to run demo application.
6. Open http://%your_host_name%:8091 and choose : Data Buckets -> default -> Documents :
If you launched Data collection demo application before it, you would be see logs from kaa server. This should seems like that: