nightshift cli namespace

elastic nightshift --help
		
Warning

Nightshift commands are experimental and subject to significant changes before they reach a stable state. Each run prints a warning to stderr; pass --accept-experimental to suppress it. The warning is not printed with --json.

Ask the Nightshift assistant a question and get its answer back in a single response, without starting an investigation. This is elastic kb agent-builder post-chat-message with the agent fixed to nightshift.assistant.

Nightshift is only available on Serverless Observability projects, with the agentBuilder:experimentalFeatures advanced setting enabled. The command is hidden when the context's kibana.version hint is a Elastic Stack version, and the stack command profile blocks it.

elastic nightshift ask "Why did checkout latency spike at 14:00?"
elastic nightshift ask --conversation-id <id> "Which service should I look at first?"
		
ask

Ask the Nightshift assistant a question and get its answer

--message string required
The user message to send to the agent.
--accept-experimental
Acknowledge that this command is experimental and may change or be removed; suppresses the warning
--conversation-id string
The ID of an existing conversation to continue. Omit it to start a new conversation; the response carries the ID to reuse on the next call.
--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate

skip input validation and send the request as-is