Kaa releases
Skip to end of metadata
Go to start of metadata

The Oracle NoSQL log appender is responsible for transferring logs from the Operations server to the Oracle NoSQL key/value storage. Logs are stored in the storage using the following key path:

The path variables used are:

Path VariableDescription
applicationTokenThe token of the application
logSchemaVersionThe version of the log schema
endpointKeyHashThe ID of the endpoint the log data belongs to
uploadTimestampThe timestamp of log upload to the storage (in milliseconds)
countThe log record ID

Values are stored as serialized generic records using record wrapper Avro schema.

Creating Oracle NoSQL log appender with Admin UI

The easiest way to create an instance of the Oracle NoSQL log appender for the application is by using Admin UI.

Creating Oracle NoSQL log appender with REST API

It is also possible to create an instance of the Oracle NoSQL log appender for the application by using the REST API. The following example illustrates how to provision the Oracle NoSQL log appender via the REST API.


The Oracle NoSQL log appender configuration should match the following Avro schema:

 Click here to expand...

The following configuration example matches the previous schema.


The following REST API call example illustrates how to create a new instance of the Oracle NoSQL log appender:

 Example result


1.Download archive with Oracle nosql database and install it to your kaa server: 


2.Use following tutorial for more information about this database: https://blogs.oracle.com/charlesLamb/entry/oracle_nosql_database_in_5

3.Create an application using Admin UI or Admin Rest API.

4. Add custom log schema that will be using for saving log in database.

5. Add Oracle Nosql log appender and define configuration for it.

6.Generate SDK appropriate to your platform and write code to send logs to database.

your client code might look like this:

To see logs:

 open admin console:

java -jar path_to_oracle_db/lib/kvstore.jar runadmin -port $your_port$ -host $your_host$

 connect to your store:

connect store -name kvstore  -host $oracle_db_host$  -port $oracle_db_port$;

to see logs from kaa:

get kv -start /${applicationToken} -all

Than in your database you will see something like that:







Copyright © 2014-2015, CyberVision, Inc.

  • No labels