---
title: "POST /gateway-update-log-forwarding-splunk"
method: POST
path: "/gateway-update-log-forwarding-splunk"
tags: ["Log-Forwarding"]
---

# POST /gateway-update-log-forwarding-splunk

`POST /gateway-update-log-forwarding-splunk`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/gateway-update-log-forwarding-splunk`
- Auth: none declared

## Request body

- GatewayUpdateLogForwardingSplunk: gatewayUpdateLogForwardingSplunk is a command that updates log forwarding config (splunk target)
  - `enable` string: Enable Log Forwarding [true/false]
  - `enable-batch` string: Enable batch forwarding [true/false]
  - `enable-tls` boolean: Enable tls
  - `index` string: Splunk index
  - `json` boolean: Set output format to JSON
  - `output-format` string: Logs format [text/json]
  - `pull-interval` string: Pull interval in seconds
  - `source` string: Splunk source
  - `source-type` string: Splunk source type
  - `splunk-token` string: Splunk token
  - `splunk-url` string: Splunk server URL
  - `tls-certificate` string: Splunk tls certificate
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `201`

gatewayUpdateLogForwardingResponse wraps response body.

- GatewayUpdateLogForwardingOutput
  - `updated` boolean

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/operations-integrations.md) - [All operations](https://skmtc.dev/akeyless/apis/operations-integrations/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/operations-integrations/revisions/2ae61e73aa1d?raw)
