пн, 1 окт. 2018 г. в 12:30, Tom Hendrikx <t...@whyscream.net>:
> Hi, > > I have a set of grok patterns for logstash. You can send the postfix > logs to logstash, have them parsed into something more or less > structured by the pattersn, then expose the logstash data through some api. > > https://github.com/whyscream/postfix-grok-patterns/ nice. you saved me a lot of time. > > > Kind regards, > Tom > > > On 01-10-18 07:47, Илья Шипицин wrote: > > > > > > вс, 30 сент. 2018 г. в 4:40, Wietse Venema <wie...@porcupine.org > > <mailto:wie...@porcupine.org>>: > > > > Wietse: > > > > Open a web search engine, ask for for 'logfile analysis tools'. > > > > ???? ???????: > > > logfile analys is good for human, it is not rest api. > > > I did search already > > > > Here is an idea: combine log analysis with a web API. End of problem. > > > > > > > > that was what I was going to implement. > > however, I do not like to implement thing that are implemented already. > > so, I did a google search and I asked mailing list. > > > > seems, I need to implement rest api myself. > > > > > > one more question. > > I like text logs. they are fast, and available 100% (comparing, for > > example to some network logging). > > > > is there a way (I did a seach already) to make logs structured ? > > something like apache access log (field with separator), json, xml, csv ? > > whatever to be machine readable (to make rest api actually read it) > > > > > > > > Wietse > > >