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
-
parametersoneOfrequired -
Exactly one of 'Raw', 'HostPath', or 'CloudFile' must be provided. CommandLine and Timeout are optional for all.
-
commandLinestring · min: 1 -
Command line arguments.
-
rawstring · min: 1required -
Raw script content.
-
timeoutinteger · min: 1 -
Timeout in seconds.
-
commandLinestring · min: 1 -
Command line arguments.
-
hostPathstring · min: 1required -
Absolute or relative path of script on host machine.
-
timeoutinteger · min: 1 -
Timeout in seconds.
-
cloudFilestring · min: 1required -
Script name in cloud storage.
-
commandLinestring · min: 1 -
Command line arguments.
-
timeoutinteger · min: 1 -
Timeout in seconds.
Response
OK
Response Type: object