Open GoogleCodeExporter opened 8 years ago
Hi,
I am kind of interested in adding support for this. As you say it looks like a
lot of people are writing their own solutions to work around there not being
built in support.
If someone could provide some logs (with appropriate redactions) that include a
variety of different kind of entries it would need to handle that would be a
big help.
Cheers
Andrew
Original comment by acaudw...@gmail.com
on 31 Oct 2014 at 1:29
Hi Andrew,
Happy to hear you would be interested in doing this.
The way I've solved this is basically by using a few data sets from the
firewall log
- time stamp
- log prefix (accept/drop)
- source ip
- destination ip
- destination port
to create a new log that's formatted somewhat similar to that of an access log.
The log new log is given to logstalgia with a few '-g' switches that will
create two sections, one ALLOWED and one BLOCKED, to show what traffic was
allowed/dropped.
I'll be more than happy to provide you with
- original logs (redacted)
- the script (python) I use to parse the original logs and explanation of how
the script generates the new logs
- the logs generated by the script (redacted)
- the regex used with logstalgia to process the logs
If this is of interest to you, I'll try getting it to you over the weekend.
//Are
Original comment by are@bifrozt.com
on 31 Oct 2014 at 7:45
Hi Are,
That sounds great. I might not look into this immediately so whenever you have
time.
Original comment by acaudw...@gmail.com
on 31 Oct 2014 at 8:47
Hi Andrew,
Awesome! I'll try getting it to you by tomorrow evening or early Sunday.
Original comment by are@bifrozt.com
on 31 Oct 2014 at 9:50
Original issue reported on code.google.com by
are@bifrozt.com
on 30 Oct 2014 at 11:16