kiloeyes/etc/kiloeyes.conf

84 lines
1.8 KiB
Plaintext
Executable File

[DEFAULT]
#logging, make sure that the user under whom the server runs has permission
#to write to the directory.
log_file=api.log
log_dir=/var/log/kiloeyes/
log_level=DEBUG
default_log_levels = kiloeyes=DEBUG,keystonemiddleware=DEBUG
dispatcher = metrics
dispatcher = versions
dispatcher = alarmdefinitions
dispatcher = notificationmethods
dispatcher = alarms
[metrics]
topic = metrics
doc_type = metrics
index_strategy = timed
index_prefix = data_
size = 10000
[alarmdefinitions]
doc_type = alarmdefinitions
index_strategy = fixed
index_prefix = admin
size = 10000
[notificationmethods]
doc_type = notificationmethods
index_strategy = fixed
index_prefix = admin
size = 10000
[alarms]
topic = alarms
doc_type = alarms
index_strategy = timed
index_prefix = data_
size = 10000
[fixed_strategy]
index_name =
[timed_strategy]
time_unit = m
frequency = 1
start_date = 2015-01-01
[kafka_opts]
#The endpoint to the kafka server, you can have multiple servers listed here
#for example:
#uri = 10.100.41.114:9092,10.100.41.115:9092,10.100.41.116:9092
uri = localhost:9092
#consumer group name
group = datapoints_group
#how many times to try when error occurs
max_retry = 1
#wait time between tries when kafka goes down
wait_time = 1
#use synchronized or asynchronized connection to kafka
async = False
#send messages in bulk or send messages one by one.
compact = False
#How many partitions this connection should listen messages on, this
#parameter is for reading from kafka. If listens on multiple partitions,
#For example, if the client should listen on partitions 1 and 3, then the
#configuration should look like the following:
# partitions = 1
# partitions = 3
#default to listen on partition 0.
partitions = 0
[es_conn]
uri = http://localhost:9200
time_id = timestamp
drop_data = False