Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. remove_healthcheck = filter.reject('%<cquup> MATCH /healthcheck')
  2.  
  3.  
  4.  
  5. json_fmt = format {
  6. 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>\"}'
  7. }
  8. log.ascii {
  9. Format = json_fmt,
  10. Filename = 'json.log' ,
  11. Filters = { remove_healthcheck } ,
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement