Logstash → InfluxDB wrong output


(Bogdan) #1

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:


(Bogdan) #2

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


(system) #3

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