monasca-log-api/etc/monasca/log-api-config.conf

58 lines
1.4 KiB
Plaintext

[DEFAULT]
# logging, make sure that the user under whom the server runs has permission
# to write to the directory.
log_file = monasca-log-api.log
log_dir = .
debug=False
# Dispatchers to be loaded to serve restful APIs
[dispatcher]
logs = monasca_log_api.v2.reference.logs:Logs
logs_v3 = monasca_log_api.v3.reference.logs:Logs
versions = monasca_log_api.v2.reference.versions:Versions
healthchecks = monasca_log_api.v2.reference.healthchecks:HealthChecks
[service]
max_log_size = 1048576
region = 'region-one'
[log_publisher]
topics = 'logs'
# Uncomment for DevStack environment
kafka_url = '192.168.10.6:9092'
# Uncomment for monasca-vagrant environment
#kafka_url = '192.168.10.4:9092'
[keystone_authtoken]
# Uncomment for DevStack environment
identity_uri = http://192.168.10.6:35357
auth_uri = http://192.168.10.6:5000
admin_password = secretadmin
# Uncomment for monaasca-vagrant environment
# identity_uri = http://192.168.10.5:35357
# auth_uri = http://192.168.10.5:5000
# admin_password = admin
admin_user = admin
admin_tenant_name = admin
cafile =
certfile =
keyfile =
insecure = false
# memcached_servers = 127.0.0.1:11211
# token_cache_time=300
[kafka_healthcheck]
kafka_url = localhost:8900
kafka_topics = log
[roles_middleware]
path = /v2.0/log
path = /v3.0/logs
default_roles = user, domainuser, domainadmin, monasca-user
agent_roles = monasca-agent, admin