---
updatedAt: 2026-10-06T17:40:07.000Z
agentTools:
  projectIndex: https://docs.akeyless.io/llms.txt
---

# /gateway-update-remote-access-session-forwarding-splunk

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "support@akeyless.io",
      "name": "Akeyless",
      "url": "http://akeyless.io"
    },
    "description": "The purpose of this application is to provide access to Akeyless API.",
    "title": "Infrastructure & connectivity",
    "version": "3.0"
  },
  "paths": {
    "/gateway-update-remote-access-session-forwarding-splunk": {
      "post": {
        "operationId": "gwUpdateRemoteAccessSessionLogsSplunk",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/gwUpdateRemoteAccessSessionLogsSplunk"
              }
            }
          },
          "required": true,
          "x-go-name": "Body"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/gwUpdateRemoteAccessSessionLogsResponse"
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        },
        "tags": [
          "Secure Remote Access"
        ],
        "x-docs-category": "Infrastructure & connectivity",
        "x-docs-group": "Secure Remote Access"
      }
    }
  },
  "tags": [
    {
      "name": "Secure Remote Access"
    }
  ],
  "x-readme": {
    "apply-tag-changes": true
  },
  "servers": [
    {
      "url": "https://api.akeyless.io"
    }
  ],
  "components": {
    "responses": {
      "errorResponse": {
        "description": "errorResponse wraps any error to return it as a JSON object with one \"error\"\nfield.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JSONError"
            }
          }
        }
      },
      "gwUpdateRemoteAccessSessionLogsResponse": {
        "description": "gwUpdateRemoteAccessSessionLogsResponse wraps response body.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/gatewayUpdateLogForwardingOutput"
            }
          }
        }
      }
    },
    "schemas": {
      "JSONError": {
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Err"
          }
        },
        "title": "JSONError wraps an error with JSON object.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client"
      },
      "gatewayUpdateLogForwardingOutput": {
        "properties": {
          "updated": {
            "type": "boolean",
            "x-go-name": "Updated"
          }
        },
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      },
      "gwUpdateRemoteAccessSessionLogsSplunk": {
        "description": "gwUpdateRemoteAccessSessionLogsSplunk is a command that updates session log forwarding config (splunk target)",
        "properties": {
          "enable": {
            "default": "true",
            "description": "Enable Log Forwarding [true/false]",
            "type": "string",
            "x-go-name": "Enable"
          },
          "enable-batch": {
            "default": "true",
            "description": "Enable batch forwarding [true/false]",
            "type": "string",
            "x-go-name": "EnableBatch"
          },
          "enable-tls": {
            "description": "Enable tls",
            "type": "boolean",
            "x-go-name": "SplunkEnableTLS"
          },
          "index": {
            "description": "Splunk index",
            "type": "string",
            "x-go-name": "SplunkIndex"
          },
          "json": {
            "default": false,
            "description": "Set output format to JSON",
            "type": "boolean",
            "x-go-name": "Json"
          },
          "output-format": {
            "default": "text",
            "description": "Logs format [text/json]",
            "type": "string",
            "x-go-name": "OutputFormat"
          },
          "pull-interval": {
            "default": "10",
            "description": "Pull interval in seconds",
            "type": "string",
            "x-go-name": "PullIntervalSec"
          },
          "source": {
            "default": "use-existing",
            "description": "Splunk source",
            "type": "string",
            "x-go-name": "SplunkSource"
          },
          "source-type": {
            "default": "use-existing",
            "description": "Splunk source type",
            "type": "string",
            "x-go-name": "SplunkSourceType"
          },
          "splunk-token": {
            "description": "Splunk token",
            "type": "string",
            "x-go-name": "SplunkToken"
          },
          "splunk-url": {
            "description": "Splunk server URL",
            "type": "string",
            "x-go-name": "SplunkUrl"
          },
          "tls-certificate": {
            "default": "use-existing",
            "description": "Splunk tls certificate",
            "type": "string",
            "x-go-name": "SplunkTlsCertificate"
          },
          "token": {
            "description": "Authentication token (see `/auth` and `/configure`)",
            "type": "string",
            "x-go-name": "Profile"
          },
          "uid-token": {
            "description": "The universal identity token, Required only for universal_identity authentication",
            "type": "string",
            "x-go-name": "UIDToken"
          }
        },
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      }
    }
  }
}
```