Hi
I am trying to configure Logstash with InfluxDB by means of plugin. I Have a config file which perfectly works with ELK. Code snippet is given below:
> input{
file { path => "C:\logstash-5.0.0\logs\nlog.log" start_position => "beginning" } } filter{ } output { elasticsearch { hosts => ["localhost:9200"] } stdout { codec => rubydebug } }
But when i trying do the same with influx plugin no data shows in DB:
input {
file {
path => "C:\logstash-5.0.0\logs\nlog.log"
start_position => "beginning"
}
}
filter{
}
output {
stdout { codec => rubydebug }
influxdb {
host=>localhost
db=>"Log"
data_points =>{"value"=>"0.7"}
port => 8086
}
}
Could someone help with this issue?