# Logstash → InfluxDB wrong output

**URL:** <https://discuss.elastic.co/t/logstash-influxdb-wrong-output/82413>\
**Category:** Logstash\
**Created:** [April 14, 2017, 1:56pm UTC](https://discuss.elastic.co/t/logstash-influxdb-wrong-output/82413 "2017-04-14T13:56:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![artobstrel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artobstrel/32/16874_2.png) [@artobstrel](https://discuss.elastic.co/u/artobstrel)\
**Post date:** [April 14, 2017, 1:56pm UTC](https://discuss.elastic.co/t/logstash-influxdb-wrong-output/82413/1 "2017-04-14T13:56:44Z")

</div>

Hello, guys!

I'm sending сyrillic text in Elastisearch and InfluxDB.  
With the Elastisearch, there are no problems, but in InfluxDB text encoding is broken.  
Can anybody help?

> **Logstash config**
>
> ```
> input {
> generator {
> message => "en=english ua=українська"		
> count => 5
> type => "generator"
> }
> }
> 
> filter { 
> kv { }
> }
> 
> output {
> elasticsearch {
> hosts => "http://localhost:9200"
> manage_template => true
> index => "logstash"
> }
> influxdb {
> host => "localhost"
> db => "influx"
> user => "admin"
> password => "passwd"
> allow_time_override => true
> use_event_fields_for_data_points => true
> }	
> }
> 
> ```

InfluxDB and Elasticsearch datasource in Grafana:  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/e/d/ed0c67c475d7c468244982bf27b7ac09bd79c36c.png)

---

<div class="post-metadata">

**Author:** ![artobstrel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artobstrel/32/16874_2.png) [@artobstrel](https://discuss.elastic.co/u/artobstrel)\
**Post date:** [April 26, 2017, 8:12am UTC](https://discuss.elastic.co/t/logstash-influxdb-wrong-output/82413/2 "2017-04-26T08:12:53Z")

</div>

Problem is solved. Incorrect encoding is present if the logstash installed on Windows. When logstash installed on Linux, everything is fine.

---

<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 24, 2017, 8:20am UTC](https://discuss.elastic.co/t/logstash-influxdb-wrong-output/82413/3 "2017-05-24T08:20:43Z")

</div>

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