JavaScript library for decoding Log10x-encoded log events back to their original form. Log10x losslessly compacts log events by extracting recurring structure into templates and storing only the variable values — this library reverses that process.
Port of the Java decoder.
npm install @log10x/decoderimport { decode } from '@log10x/decoder';
const original = decode(templatePattern, encodedEvent);- Java — log10x-decoder-java — Core library + CLI tool, Maven Central
npm install
npm testThis repository is licensed under the MIT License.
This repository contains a decoder library for Log10x-encoded events. While the decoder itself is open source, using the Log10x Edge Optimizer to encode events requires a commercial license.
| Component | License |
|---|---|
| This repository (decoder library) | MIT (open source) |
| Log10x Edge Optimizer | Commercial license required |
What this means:
- You can freely use, modify, and distribute this decoder
- The Log10x Edge Optimizer that generates encoded events requires a paid subscription
- A valid Log10x license is required to run the Edge Optimizer
Get Started:
Contributions are welcome! Please read our contributing guidelines and submit pull requests to the repository.
For issues and feature requests:
- Open an issue on GitHub
- Contact the Log10x team at support@log10x.com