-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
Hi there!
I'm trying to insert diferent measurements into diferent databases, but, in spite of I have a field "db_name" that takes correct databases names, Logstash tells me that "%{db_name} is not a valid database", and it doesn't take the value of [db_name].
This is my code:
influxdb {
host => "localhost"
db => "%{db_name}"
measurement => "%{ms_name}"
data_points => { 'val' => '%{[value]}' }
coerce_values => { 'val' => 'integer' }
send_as_tags => []
}