Skip to content

Add Support for any Splunk Environment #1179

Description

@ocpvkb

Feature request

  1. The following Splunk query parameters or Splunk fields should be configurable to ensure compatibility with every Splunk environment:

The logs can also be forwarded to Splunk using various tools, although the field names might not match exactly.
They should support a simple parameter with placeholders like "index=FOO kubernetes.labels.tekton_dev_taskRunUID="{taskRunUID}".
In the implementation, you should then simply overwrite the placeholders {taskRunUID} with their values.

  1. Specify parameters earliest_time and latest_time to Query
    The current implementation just sends "alltime" search, which can significantly reduce performance on large Splunk deployments.
    (For the Loki LOGS_TYPE you do specify the parameters for specifying time range of the search...)

Use case

The logs can also be forwarded to Splunk using various tools, although the field names might not match exactly.
The logs can also be forwarded to large Splunk deployments. The Current Query Implementation would significantly reduce performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions