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

SaveTailPreset

Save a reusable filter configuration as a named preset for future sessions

Execution Availability

Try It Out

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

Request Inputs

Body Fields

  • userUuidStringRequired

    UUID of the user saving this preset

    Example: user-001-abc

  • tenantIdStringRequired

    Tenant identifier for preset ownership

    Example: tenant-xyz

  • presetObjectRequired

    Preset for this resource

    • idString

      Unique identifier of this filter preset

      Example: preset-001

    • nameString

      Human-readable name of the filter preset

      Example: Production Errors

    • userUuidString

      UUID of the user who owns this preset

      Example: user-001-abc

    • tenantIdString

      Tenant identifier for multi-tenant preset ownership

      Example: tenant-xyz

    • filterObject

      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

    • isSharedBoolean

      Whether this preset is shared with all users in the tenant

      Example: false

    • createdAtString

      Created at

      Example: 2026-01-15T08:00:00Z

Responses

200 OK

On success, this API returns the following response structure.

  • idString

    Unique identifier of this filter preset

    Example: preset-001

  • nameString

    Human-readable name of the filter preset

    Example: Production Errors

  • userUuidString

    UUID of the user who owns this preset

    Example: user-001-abc

  • tenantIdString

    Tenant identifier for multi-tenant preset ownership

    Example: tenant-xyz

  • filterObject

    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

  • isSharedBoolean

    Whether this preset is shared with all users in the tenant

    Example: false

  • createdAtString

    Created at

    Example: 2026-01-15T08:00:00Z

Endpoint

POST/api/v1/logs/tail/presets

/api/v1/logs/tail/presets

Operation ID

SaveTailPreset

Permalink

Request Example

curl -X POST '{host}/api/v1/logs/tail/presets' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"userUuid":"user-001-abc","tenantId":"tenant-xyz","preset":{"id":"preset-001","name":"Production Errors","userUuid":"user-001-abc","tenantId":"tenant-xyz","filter":{"includeKeywords":"item1,item2","excludeKeywords":"item1,item2","regex":"error.*timeout","logLevelMin":"warn","serviceFilter":"payment-service"},"isShared":false,"createdAt":"2026-01-15T08:00:00Z"}}'

Response Example

200
{
  "id": "preset-001",
  "name": "Production Errors",
  "userUuid": "user-001-abc",
  "tenantId": "tenant-xyz",
  "filter": {},
  "isShared": false,
  "createdAt": "example"
}

Change History

This API has no change history records yet.

View all change history