Run a script

Server: https://{kibana_url}
  • POST /api/endpoint/action/runscript
  • POST /s/{space_id}/api/endpoint/action/runscript

Refer to Spaces for more information.

Run a shell command on an endpoint.

Request

parameters union oneOf required

Exactly one of 'Raw', 'HostPath', or 'CloudFile' must be provided. CommandLine and Timeout are optional for all.

One of:
commandLine string · min: 1

Command line arguments.

raw string · min: 1 required

Raw script content.

timeout integer · min: 1

Timeout in seconds.

Response