Core container#
To quickly try CLP’s core compression, decompression, and search (outside of the package), you can use the clp-core-x86-ubuntu-jammy container as follows.
Pull the container image:
docker pull ghcr.io/y-scope/clp/clp-core-x86-ubuntu-jammy:main
Start the container with mounts for your logs and output directories:
Note
Be sure to change the paths in the command below before running it.
docker run \
  --rm \
  -it \
  -u $(id -u):$(id -g) \
  --volume /my/logs/dir:/mnt/logs \
  --volume /my/data/dir:/mnt/data \
  ghcr.io/y-scope/clp/clp-core-x86-ubuntu-jammy:main /bin/bash
- Change - /my/logs/dirto the directory on your machine that contains the logs you wish to compress. It will be mounted at- /mnt/logsin the container.
- Change - /my/data/dirto the directory on your machine where you want to store the generated archives. It will be mounted at- /mnt/datain the container.
Follow the usage instructions in clp for unstructured logs or clp for JSON logs, depending on the format of your logs.
