Core container#

To quickly try CLP’s core compression, decompression, and search (outside of the package), you can use the clp-core-x86-ubuntu-focal container as follows.

Pull the container image:

docker pull ghcr.io/y-scope/clp/clp-core-x86-ubuntu-focal: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-focal:main /bin/bash
  • Change /my/logs/dir to the directory on your machine that contains the logs you wish to compress. It will be mounted at /mnt/logs in the container.

  • Change /my/data/dir to the directory on your machine where you want to store the generated archives. It will be mounted at /mnt/data in the container.

Follow the usage instructions in clp for unstructured logs or clp for JSON logs, depending on the format of your logs.