Logstasch eventlog event fieds is written to kafka in chinese

I'm trying to write event log messages from specific source to kafka.
The problem is that all textual event fields are written to kafka in chinese.
Because of that:

  1. filter is not working (the if statement for specific source is wrong because source nume equals to chinese instead of real value)
  2. when removing the filter all textual event fileds are shown in chinese in kafka.
    (writing just text works fine)
    tried also to add encoding without success.

here is my configuration:
input {
eventlog {
logfile => 'Application'
codec => plain{
charset => 'Windows-31J'

output {
kafka {
codec => "json"
bootstrap_servers => ""
topic_id => "eventlog"

and here is my output in kafka:


I'll be very gratefull for your help !

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