P
P
partisan422021-04-15 12:10:36
linux
partisan42, 2021-04-15 12:10:36

How to trim a SARG report?

Good day.
Maybe someone faced such a problem?
Made a CentOS7 + Squid + httpd + SARG assembly.
People go through proxies, access.log is written, SARG makes cron reports. Beauty and idyll.
But the authorities also want to see these reports, and there is a lot of garbage there.
Ideally, I would like to remove from the report all resources, the traffic costs of which would be less than 1 megabyte.
Has anyone experienced this?
I looked in the config, but either I'm blind, or there is no such thing. The SARG executable file is a binary, there is nothing to fix there either. I watched its HTML component, but also deafly :(
I would be very grateful for a hint where to dig.607803054ba2e808380731.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2021-04-15
@partisan42

the easiest way is to dig into Python (well, even Bash), which you, as an admin, must own
, and for the authorities, just cut off the outgoing file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question