x402
Log Parse (x402)
Parse log files — auto-detects format (JSON, syslog, ISO, logfmt, Laravel). Extracts timestamps, levels, messages. Returns error/warning summary. Algorithmic.
get/x402/v2/log-parse
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/log-parse
- Auth: none required
Query parameters
logsstring required
Response
Success
Example response
{
"errors": [],
"warnings": [],
"time_range": {
"last": null,
"first": null
},
"error_count": 0,
"total_lines": 1,
"level_counts": {},
"parsed_sample": [
{
"raw": "INVALID_TEST_VALUE_12345",
"format": "unknown",
"message": "INVALID_TEST_VALUE_12345",
"line_number": 1
}
],
"warning_count": 0,
"detected_format": "unknown"
}Changes
No recorded changes to this operation across all 1 revision of this API.