Job History
Description
The bacalhau job history
command lists the history events of a specific job based on its ID. This feature allows users to track changes, executions, and other significant milestones associated with a particular job.
Usage
Flags
--event-type string
:Description: Specifies the type of history events to retrieve. Available options include
all
,job
, andexecution
.Default:
all
--execution-id string
:Description: Filters results by a specific execution ID.
-h
,--help
:Description: Display help for the
history
command.
--hide-header
:Description: Opts out of printing the column headers in the results.
--limit uint32
:Description: Limits the number of results returned.
--next-token string
:Description: Uses the provided token for pagination.
--no-style
:Description: Strips all styling from the table output.
--node-id string
:Description: Filters the results by a specific node ID.
--order-by string
:Description: Organizes results based on a chosen field.
--order-reversed
:Description: Reverses the order of the displayed results.
--output format
:Description: Dictates the desired output format for the command. Options are
table
,csv
,json
, andyaml
.Default:
table
--pretty
:Description: Offers a more visually pleasing output for
json
andyaml
formats.
--wide
:Description: Presents full values in the table results, preventing truncation.
Global Flags
--api-host string
:Description: Defines the host for client-server communication via REST. Overridden by the
BACALHAU_API_HOST
environment variable, if set.Default:
bootstrap.production.bacalhau.org
--api-port int
:Description: Sets the port for RESTful communication between the client and server. The
BACALHAU_API_PORT
environment variable takes precedence if set.Default:
1234
--log-mode logging-mode
:Description: Designates the desired log format. Options include
default
,station
,json
,combined
, andevent
.Default:
default
--repo string
:Description: Points to the bacalhau repository location.
Default:
$HOME/.bacalhau
Examples
Retrieve the history of a specific job:
Execute the command to get the job history:
Expected output:
Filter the history by event type:
Filter the job history by the event type:
Expected output:
Filter the history by execution ID:
Filter the job history by a specific execution ID:
Expected output:
Retrieve the history in YAML format:
Get the job history in YAML format:
Expected output:
Last updated