Skip to main content
Monitoring & Collection/Logging
PUTLoggingSince 1.0SynchronousAuth Required

UpdateTailFilter

Update the compound filter criteria for an existing filtered live-tail session

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Request Inputs

Path Parameters

  • sessionIdStringRequired

    Unique identifier of the filtered session to update

Body Fields

  • filterObjectRequired

    Filter for this resource

    • includeKeywordsList

      Include keywords

      Example: item1,item2

    • excludeKeywordsList

      Exclude keywords

      Example: item1,item2

    • regexString

      Regular expression pattern to match against log message content

      Example: error.*timeout

    • logLevelMinString

      Minimum log level to include; entries below this level are excluded

      Example: warn

    • serviceFilterString

      Service name filter to restrict matching to a specific service

      Example: payment-service

Responses

200 OK

On success, this API returns an empty JSON object {}.

Endpoint

PUT/api/v1/logs/tail/filtered-sessions/{sessionId}/filter

/api/v1/logs/tail/filtered-sessions/{sessionId}/filter

Operation ID

UpdateTailFilter

Permalink

Request Example

curl -X PUT '{host}/api/v1/logs/tail/filtered-sessions/{sessionId}/filter' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"filter":{"includeKeywords":"item1,item2","excludeKeywords":"item1,item2","regex":"error.*timeout","logLevelMin":"warn","serviceFilter":"payment-service"}}'

Response Example

200
{}

Change History

This API has no change history records yet.

View all change history