Command reference for OCI containers
This reference lists and describes the commands for administering the OCI containers.
On Linux®, the following separate command line
interfaces (CLIs) are merged into a single CLI in Z Anomaly Analytics and Z Operational Log and Data Analytics 5.1.x.10 or later.
- Z Data Analytics Platform CLI
- Z Anomaly Analytics OCI container CLI
You can run the single CLI by using one of the following commands:
- Docker
-
<ZOA_HOME>/bin/dockerManageZoa.sh - Podman
-
<ZOA_HOME>/bin/podmanManageZoa.sh
Commands for administering installed software containers
| Command | Explanation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| backup-data | Back up data from one named volume to the host file system. | ||||||||
| config-certificates | Configure or reconfigure TLS certificates. Provide one of the following subcommands:
|
||||||||
| config-certificates | Configure or reconfigure TLS certificates. Provide one of the following subcommands:
Notes:
|
||||||||
| config-parser-pipeline | Configure or reconfigure the pipelines for the parser component. This action loads the
Logstash configuration files for both curated and raw data streams. Notes:
|
||||||||
| config-rulesengine | Configure Rules Engine rules for metric-based machine learning. Notes:
|
||||||||
| create-platform-monitor | Create a Platform Health monitor that can be customized to send alerts when space gets
low. Note: This command was newly added in 5.1.x.20.
|
||||||||
| datastore | Manage data store indexes. Provide one of the following subcommands:
Note: The show-locked-indices, unlock-index,
list-datastreams, and delete-datastreams subcommands were
newly added in 5.1.x.19.
|
||||||||
| datastore-debug-logging | Enable or disable debug logging for the data store service.
Note: This command was newly added in 5.1.x.19.
|
||||||||
| down | Stop and remove containers and networks. | ||||||||
| export-custom-objects | Export custom searches, visualizations, and dashboards from a Z Data Analytics Platform workspace. | ||||||||
| gather | Collect configuration and log files and compress them in a ZIP archive for submission to IBM® Support. | ||||||||
| get-log-level | View the log level of a specific container. Note: This command was renamed from
"
getLogLevel" in 5.1.x.14. |
||||||||
| help | Show usage information. | ||||||||
| import-custom-objects | Import previously exported custom searches, visualizations, and dashboards into a Z Data Analytics Platform workspace. | ||||||||
| inspect-images | Print information about OCI images. Note: This command was renamed from
"
inspectImages" in 5.1.x.14. |
||||||||
| kafka-console-consumer | Show the contents of a Kafka topic. | ||||||||
| kafka-consumer-groups | Show information about a Kafka consumer group. | ||||||||
| kafka-debug-logging | Enable or disable debug logging for the kafkabroker service.
Note: This command was newly added in 5.1.x.19.
|
||||||||
| kafka-prune | Prune data from a Kafka topic and optionally configure data retention duration for that
topic. Provide one of the following subcommands:
|
||||||||
| kafka-topics | Manage Kafka topics. Note: This subcommand was enhanced in 5.1.x.16. It now
provides a broader set of capabilities, including the ability to view topic details, alter topic
configuration, or delete topics. The additional capability is provided to improve serviceability and
must be used under the guidance of IBM Support.
|
||||||||
| logs | View output from containers. | ||||||||
| manage-security-tenants | Create, update, or delete security tenants. The available subcommands are,
Note: This command was newly added in 5.1.x.16.
|
||||||||
| manage-zdap-secrets | List, create, update, or delete secrets that contain sensitive information that
the extended features of the Z Data Analytics Platform require. Note: This command was newly added in
5.1.x.16.
|
||||||||
| migrate-index-pattern | Migrate custom visualizations and searches from versions before
5.1.x.10. Note: This command was newly added in
5.1.x.14.
|
||||||||
| move-data | Move data from one named volume to another. | ||||||||
| parser-debug-logging | Enable or disable debug logging for the parser service
Note: This command was newly added in 5.1.x.19.
|
||||||||
| process-cdp-policy | Generate index templates for non-curated data streams from a Z Common Data Provider policy
file. Notes:
|
||||||||
| ps | List containers. | ||||||||
| purge | Stop and remove containers and networks and purge data volumes. | ||||||||
| reset-datastore-api-password | Create a new, randomly generated password for API access to the data store service. Note: This
command was newly added in 5.1.x.16.
|
||||||||
| reset-datastore-security | Initialize IBM-provided default security configuration
for the data store service. Note:
|
||||||||
| restart | Restart running services. | ||||||||
| restore-data | Restore backup data on the host file system to the named volume. | ||||||||
| seed-ldap | Seed the authentication service with LDAP user IDs based on an input file. Note: This command
was newly added in 5.1.x.14.
|
||||||||
| set-log-level | Set a log level for a specific container. Note: This command was renamed from
"
setLogLevel" in 5.1.x.14. |
||||||||
| start | Start stopped services. | ||||||||
| stop | Stop running services. | ||||||||
| up | Create and start containers. | ||||||||
| update-keycloak-password | Update the password of the following Keycloak user IDs:
|