Filters
How slaOS applies filters to parse and process log data
Log formats
Field Types
Example: Parsing API Key Metric Usage Logs
{
"timestamp": "2024-08-15T10:30:45Z",
"customer": {
"id": "cust_12345"
},
"api_call": {
"latency": 120,
"credits_used": 5,
"path": "/v1/process",
"method": "POST"
},
"response": {
"status_code": 200
}
}Step 1: Define the log pattern
Step 2: Set Up the Parser
Step 3: Parse the Log Entry
Notes on DateTime Formats
Format String
Example Timestamp
Last updated

