Using logstash?
- vedadramovic
- Posts:121
- Joined: Mon Apr 07, 2014 10:36 am
Re: Using logstash?
thank you for fast reply
- vogler
- Posts:122
- Joined: Thu Oct 28, 2010 8:32 am
Re: Using logstash?
you find a logstash configuration here: http://www.rocworks.at/wordpress/?p=769
- vedadramovic
- Posts:121
- Joined: Mon Apr 07, 2014 10:36 am
Re: Using logstash?
Thank you Andreas,
in case someone else, tries example on www.rocworks.at/wordpress/?p=769
I think there is an error
instead of
multiline should be placed inside input like below:
Best regards,
Vedad
in case someone else, tries example on www.rocworks.at/wordpress/?p=769
I think there is an error
instead of
Code: Select all
filter {
multiline {
pattern => "%{YEAR}.%{MONTHNUM}.%{MONTHDAY} %{TIME}"
negate => true
what => "previous"
}Code: Select all
input {
file {
path => "/proj/winccoa/smh/log/*.log"
codec => multiline {
pattern => "%{YEAR}.%{MONTHNUM}.%{MONTHDAY} %{TIME}"
negate => true
what => "previous"
}
}
}Vedad