Hi all,
i have a little problem with this type of log:
Wed Sep 20 16:02:39 2017 (186085) -7- ================= FUNCTOR WAITING FOR MSG =================
Wed Sep 20 16:02:39 2017 (284410) -7- <----------RECVFROM <- len [193] bytes
Wed Sep 20 16:02:39 2017 (340305) -7- Received():13624,0,20001,QLen is 0
Wed Sep 20 16:02:39 2017 (340329) -7- IPCMutexResource::lock
Wed Sep 20 16:02:39 2017 (340337) -7- FUNCTOR-ROW: Received pid=13624 id=0 loop=0 port=20001 queuelen=0 recv=258976 sent=258953 status=3
I'm using the followinf configuration in logstash:
filter {
grok {
match => ["message", "\A%{HTTPDERROR_DATE:timestamp} (%{NUMBER:bytes}) %{GREEDYDATA:message} "]
}
date {
match => [ "timestamp", "EEE MMM dd HH:mm:ss yyyy" ]
timezone => "Europe/Rome"
target => "@timestamp"
}
mutate {
remove_field => [ "timestamp" ]
}
I would like to have every line separate from the other, so the separator is the date, but if the timestamp is equal, i will have all messages in a single block.
Can you help me please?