Skip to content

db => "%{var_name}" doesn't work #79

@ghost

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 => []
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions