How to let Logstash read more than one "charset" in the codec setting

Hello Folks,
i am wundering , if it is possibly, to write more than one "charset" in the codec setting in my Input , in order to let Logstash choose on of those "charset".
Cause my Data files wich i want to index into Elastic , are differently, some of them are "UTF-8" and other are "ISO 8859-1" format .
how can i solve this issue?
Like the bellow Example.

input{
stdin{
 codec => plain {
 charset=>"UTF-8" 
 charset=>"ISO-8859-1"
 charset=>"ascii"
} 
}
}

Any Idea , i will be thankful.

No, I do not believe you can do that.

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