Generate a TQL parser
make_parserTurn sample log events into a TQL parser for JSON, CSV, syslog, or key-value formats. Get step-by-step guidance for operator selection and type conversion to produce structured data.
Instructions
Generate a TQL parser for the given log format.
Use this tool when:
You have sample log events and need to parse them into structured data
You're starting a new parser for JSON, CSV, syslog, or key-value logs
You want guidance on format detection and TQL operator selection
You need to infer types and create proper schema transformations
This tool provides a complete workflow with step-by-step instructions for:
Analyzing log format and structure
Selecting appropriate TQL operators
Generating parsing code with type conversions
Creating a package with the parser
Testing the parser with sample data
Follow the workflow instructions provided in the response.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sample": "<sample>"
},
"name": "make_parser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| sample | Yes | Sample log events to generate parser from |