CreateFilteredTailSession
Create a live-tail session with a compound multi-criteria filter
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
tenantIdStringRequiredTenant identifier for quota enforcement and session ownership
Example: tenant-xyz
userUuidStringRequiredUUID of the user creating this filtered session
Example: user-001-abc
filterObjectRequiredFilter for this resource
includeKeywordsListInclude keywords
Example: item1,item2
excludeKeywordsListExclude keywords
Example: item1,item2
regexStringRegular expression pattern to match against log message content
Example: error.*timeout
logLevelMinStringMinimum log level to include; entries below this level are excluded
Example: warn
serviceFilterStringService name filter to restrict matching to a specific service
Example: payment-service
serviceStringRequiredService name to restrict the tail stream to
Example: order-service
Responses
Endpoint
POST/api/v1/logs/tail/filtered-sessions
/api/v1/logs/tail/filtered-sessions
Request Example
curl -X POST '{host}/api/v1/logs/tail/filtered-sessions' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"tenantId":"tenant-xyz","userUuid":"user-001-abc","filter":{"includeKeywords":"item1,item2","excludeKeywords":"item1,item2","regex":"error.*timeout","logLevelMin":"warn","serviceFilter":"payment-service"},"service":"order-service"}'
Response Example
200{
"sessionId": "fsession-001",
"tenantId": "tenant-xyz",
"userUuid": "user-001-abc",
"filter": {},
"createdAt": "example",
"updatedAt": "example",
"active": true,
"cursorPos": "cursor-0000099"
}Change History
This API has no change history records yet.
