Problem regarding input from a file

i have a file which has a single line of 53000 length and i am trying to take input from this file in logstash, but it is not happening. What may be the issue?

The line length could definitely be a problem, but there are other possibilities. What does your configuration look like?

The config file is as follows:

input{

 file {

	path => "C:\Users\jpaunika\Programs\ELK\logstash-6.2.3\logstash-6.2.3\cuc.json"
	type => "json"
	start_position=>"beginning"
	sincedb_path =>"NUL"
	codec => json
	
}

}
output{

elasticsearch {

	hosts => ["localhost:9200"]
	index => "jayesh"

}

stdout{}

}

How to solve this line length problem if that is the case?

If that indeed is the problem (your configuration looks okay) then it's a bug/limitation in Logstash or one of its plugins. Check GitHub for existing issues and file a new one if the search turned up empty.

okay thanks

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