How to start logstash with log4j configuration


(deepak kumar sahoo) #1

when i am trying to start logstash with log4j configuration i am getting error
my configuration:-
input {
log4j {
mode => "server"
host => "127.0.0.1"
port => 56445
type => "log4j"

}
}

output {
stdout {}
elasticsearch { embedded => true }

} .


(Magnus B├Ąck) #2

Unless you tell us what error you're getting we can't help you. Knowing what version of Logstash you're using would also make things easier and avoid unnecessary speculation.


(Mark Walkom) #3

Also, don't use the embedded ES, you're much better off running up a standalone instance.


(system) #4