Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- remove_healthcheck = filter.reject('%<cquup> MATCH /healthcheck')
- json_fmt = format {
- Format = '{\"chi\":\"%<chi>\",\"chp\":\"%<chp>\",\"hii\":\"%<hii>\",\"caun\":\"%<caun>\",\"cqtn\":\"%<cqtn>\",\"cqhm\":\"%<cqhm>\",\"cquuc\":\"%<cquuc>\",\"cqtx\":\"%<cqtx>\",\"shi\":\"%<shi>\",\"php\":\"%<php>\",\"pqsi\":\"%<pqsi>\",\"pqsp\":\"%<pqsp>\",\"pssc\":\"%<pssc>\",\"pscl\":%<pscl>,\"sssc\":\"%<sssc>\",\"sscl\":%<sscl>,\"cqbl\":%<cqbl>,\"pqbl\":%<pqbl>,\"cqhl\":%<cqhl>,\"pshl\":%<pshl>,\"pqhl\":%<pqhl>,\"sshl\":%<sshl>,\"ttms\":%<ttms>,\"phr\":\"%<phr>\",\"cfsc\":\"%<cfsc>\",\"pfsc\":\"%<pfsc>\",\"crc\":\"%<crc>\",\"cquuh\":\"%<cquuh>\",\"sshcl\":\"%<{Content-Length}ssh>\",\"pshce\":\"%<{Content-Encoding}psh>\",\"cqhcl\":\"%<{Content-Length}cqh>\",\"via\":\"%<{Via}ssh>\"}'
- }
- log.ascii {
- Format = json_fmt,
- Filename = 'json.log' ,
- Filters = { remove_healthcheck } ,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement