Blueprints

Ship Kestra logs to Splunk

Source

yaml
id: splunk-log-shipper
namespace: system

tasks:
  - id: log_export
    type: io.kestra.plugin.ee.core.log.LogShipper
    logLevelFilter: INFO
    lookbackPeriod: P1D
    offsetKey: logShipperOffset
    delete: false
    logExporters:
      - id: SplunkLogExporter
        type: io.kestra.plugin.ee.splunk.LogExporter
        host: https://example.splunkcloud.com:8088
        token: "{{ secret('SPLUNK_API_KEY') }}"

triggers:
  - id: daily
    type: io.kestra.plugin.core.trigger.Schedule
    cron: "@daily"

About this blueprint

System

This system flow ships Kestra logs to Splunk on a daily basis.

It uses the LogShipper task to export logs and the LogExporter for Splunk.

Log Shipper

Log Exporter

Schedule

More Related Blueprints

New to Kestra?

Use blueprints to kickstart your first workflows.

Get started with Kestra