# Configure Logstash output with InfluxDB

**URL:** <https://discuss.elastic.co/t/configure-logstash-output-with-influxdb/82402>\
**Category:** Logstash\
**Created:** [April 14, 2017, 10:16am UTC](https://discuss.elastic.co/t/configure-logstash-output-with-influxdb/82402 "2017-04-14T10:16:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yarik](https://avatars.discourse-cdn.com/v4/letter/y/ea5d25/32.png) [@yarik](https://discuss.elastic.co/u/yarik)\
**Post date:** [April 14, 2017, 10:16am UTC](https://discuss.elastic.co/t/configure-logstash-output-with-influxdb/82402/1 "2017-04-14T10:16:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 12, 2017, 10:20am UTC](https://discuss.elastic.co/t/configure-logstash-output-with-influxdb/82402/2 "2017-05-12T10:20:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
