monasca-log-api/monasca_log_api/api
Roland Hochmuth 9b93fc8864 Add implementation of /v3.0/logs API
Implemented specification proposal for batch support at,
https://review.openstack.org/#/c/273058/

Note, if you want to use this in the monasca-vagrant environment
it should work. I've modified the value of the field kafka_url in
etc/monasca/monasca_log_api.conf to use the kafka server in the
mini-mon vm.

After you've deployed monasca-vagrant using "vagrant up"
ssh into mini-mon "vagrant ssh mini-mon" and then create a new
topic for logs which can be done running the command:

/opt/kafka/bin/kafka-topics.sh --create -zookeeper localhost:2181
--replication-factor 1  --partitions 128 --topic logs

To watch the log messages at the console in the mini-mon VM

/opt/kafka/bin/kafka-console-consumer.sh
--zookeeper localhost:2181 --topic logs

Change-Id: I4247d1824a237ecbe4db878e72485938f40a31c3
2016-02-24 23:09:39 -07:00
..
__init__.py monasca-log-api python 2015-10-08 10:38:12 +02:00
exceptions.py Documentation update 2015-12-08 11:37:23 +01:00
headers.py Documentation update 2015-12-08 11:37:23 +01:00
healthcheck_api.py Adding healthcheck 2016-02-22 12:49:21 +01:00
logs_api.py Security update for monasca-log-api 2015-12-17 11:27:12 +01:00
logs_v3_api.py Add implementation of /v3.0/logs API 2016-02-24 23:09:39 -07:00
versions_api.py Documentation update 2015-12-08 11:37:23 +01:00