CLI
The CLI runs the 10x Engine against your log files locally to preview cost savings, validate configs, and test custom JavaScript before you deploy.
MCP can run this for you
If you've installed the MCP Server, ask your AI assistant to preview savings. MCP fetches the CLI, runs it against your logs, and returns a structured cost analysis. You don't install the CLI manually.
Workflow
The CLI processes log files locally on your development machine to preview optimization results and validate configurations before production deployment.
graph LR
A["<div style='font-size: 14px;'>💻 Local Machine</div><div style='font-size: 10px; text-align: center;'>Load Files</div>"] --> B["<div style='font-size: 14px;'>🔄 Transform</div><div style='font-size: 10px; text-align: center;'>into TenXObjects</div>"]
B --> C["<div style='font-size: 14px;'>🎁 Enrich</div><div style='font-size: 10px; text-align: center;'>Add Context</div>"]
C --> D["<div style='font-size: 14px;'>📊 Aggregate</div><div style='font-size: 10px; text-align: center;'>Group by Cost</div>"]
C --> E["<div style='font-size: 14px;'>🗜️ Compact</div><div style='font-size: 10px; text-align: center;'>Write to File</div>"]
E --> G["<div style='font-size: 14px;'>🔓 Expand</div><div style='font-size: 10px; text-align: center;'>Expand Events</div>"]
D --> F["<div style='font-size: 14px;'>📈 Report</div><div style='font-size: 10px; text-align: center;'>Generate Analysis</div>"]
classDef local fill:#7c3aed88,stroke:#6d28d9,color:#ffffff,stroke-width:2px,rx:8,ry:8
classDef transform fill:#2563eb88,stroke:#1d4ed8,color:#ffffff,stroke-width:2px,rx:8,ry:8
classDef enrich fill:#059669,stroke:#047857,color:#ffffff,stroke-width:2px,rx:8,ry:8
classDef aggregate fill:#ea580c88,stroke:#c2410c,color:#ffffff,stroke-width:2px,rx:8,ry:8
classDef encode fill:#f59e0b,stroke:#d97706,color:#ffffff,stroke-width:2px,rx:8,ry:8
classDef decode fill:#ec4899,stroke:#db2777,color:#ffffff,stroke-width:2px,rx:8,ry:8
classDef report fill:#16a34a88,stroke:#15803d,color:#ffffff,stroke-width:2px,rx:8,ry:8
class A local
class B transform
class C enrich
class D aggregate
class E encode
class F report
class G decode
💻 Local Machine: Loads log files from your local filesystem or receives events via stdin for processing
🔄 Transform: Structures raw log events into well-defined TenXObjects using symbol libraries
🎁 Enrich: Applies enrichment rules to augment events with intelligent context and classifications
📊 Aggregate: Groups TenXObjects by symbol message to show data volume per event type
📈 Report: Generates cost analysis tables showing optimization opportunities and potential savings
🗜️ Compact: Creates compact output files demonstrating volume reduction results
🔓 Expand: Expands compact events perfectly using TenXTemplates for validation
Preview Cost Savings
Preview your own log files or sample logs locally. The CLI aggregates events to show exact data volume per event type, a risk-free preview of the information used to power edge and cloud apps.
After running, generate a shareable URL to visualize results in an interactive dashboard with ROI calculator and pattern analysis.
Production Use
The same reports run at the edge and in the cloud: the Reporter for pre-analyzer cost visibility, the Receiver to filter or compact, and the Retriever to offload and fetch events back on demand.
Write Custom JS Logic
Write and test custom JavaScript to further enrich, filter and output TenXObjects with real log data using the JavaScript API. Catch errors and validate rules locally before production deployment.
Build Custom Integrations
Extend the polyglot compiler with new languages or build custom runtime modules to integrate additional log forwarder, analyzer and storage types. Test locally before deployment or community contribution.
This app is defined in dev/app.yaml.




