Reputation: 141
I have my windows version which writes logstash json output as file capturing each object by line by line. But same in cents, working fine but its writing all the outputs in a single line.. No carriage return(enter)
Eg:
Expected {Name: abc, class: fifth}
{Name: abc, class: six}
{Name: abc, class: seven}
But coming as {Name: abc, class:fifth}{Name: abc, class:six}{Name: abc, class:seven}
Upvotes: -3
Views: 117
Reputation: 9444
In order to have a proper formatted output in logstash
for debugging purposes, you could simply use stdout
. ie:
output {
stdout { codec => rubydebug } <--- you could change this to your need
}
Upvotes: 1