Collectors cannot ingest compressed logs. They automatically exclude compressed files when collecting data.

We do support file compression for HTTP Source. The instructions are in Configure an HTTP Source