CriblUtilities is a Python CLI package that streamlines migration to Cribl Stream and validates configurations. With minimal setup, it transfers configurations from existing tools to Cribl Stream. It also integrates with Cribl GitOps workflows to verify naming conventions and file formats before implementing changes.
| Function | Explanation |
|---|---|
| Setup | Setup your CriblUtilities environment |
| Migrate | Migrate database |
| Check | Check file format adherence |
| Check | Check naming convention with regex |
More information on CLI-Docs documentation.
- Create a local Cribl user. This user should minimally have the role: stream_editor.
This project is an independent initiative and is not affiliated, endorsed, or sponsored by Cribl. All trademarks and logos mentioned are the property of their respective owners. Please use this software responsibly and at your own risk.
- brew install pipx
- pipx install cribl-utilities
- cribl-utilities --help Link to package on PyPI.
- cd cribl-utilities
- 'pipx install -e .'
- Make sure to have installed a python version >=3.13, and have docker installed.
pip install -r requirements.txt- Example code without cli:
cd cribl-utilitiesdocker compose up -d- login and update admin password (default is
adminandadmin)
- login and update admin password (default is
python example_usage_without_cli.py- Cleanup:
docker compose down
mkdocs serve
docker compose up -dpip install -r requirements.txtcd cribl-utilitiespytest- Cleanup:
docker compose down
brew install pipxsudo pipx ensurepath --global(this is to allow --global options)pipx install poetrypoetry config virtualenvs.in-project true(this makes all venvs in the project)
- Open PowerShell as administrator
pip install pipxpipx ensurepath- Close PowerShell and open a new one
pipx install poetrypoetry config virtualenvs.in-project true(this makes all venvs in the project)
poetry new cribl-utilitiescd cribl-utilitiespoetry add typerpoetry shellpoetry buildpoetry installtyper cribl_utilities.main utils docs --output docs/cli-docs.md --name cribl-utilities
- make sure to have pipx and poetry installed and to be in the folder of the CLI itself
poetry shellpoetry buildpoetry config http-basic.pypi <username> <password>(run once)poetry publish --build