Change character encoding in Logstash

How to specify the character encoding as UTF 16 or ASCII in logstash?

My input section as below. I am reading a CSV file using CSV plugin in filter section

input {

	file {
			path => "C:/ITIL_Incidents.csv"                              
			start_position => "beginning"
			                    
		}
	}

hello varun,
for what purpose do you need to change the character encoding,

check below code to load csv file,

because my csv file contains non utf-8 characters like Latin letters. so when I try to index in logstash, it is giving error for indexing non utf 8 fields

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