service documentdb (OpenSearch)
Syntax
service documentdb <option>
Description
Use this command to:
-
Check the logs and status of documentdb service.
-
Repair and restart the doumentdb service.
Options
log |
Display the logs of documentdb service. |
repair |
Repair the documendb service. |
retart |
Restart the documentdb service. |
status |
Display the status of documendb service. |
Required Privilege Level
CLI Administrator
Sample Output
service documentdb
status
$ service documentdb status --- cluster_name: "opensearch-cluster" status: "green" timed_out: false number_of_nodes: 1 number_of_data_nodes: 1 discovered_master: true discovered_cluster_manager: true active_primary_shards: 6 active_shards: 6 relocating_shards: 0 initializing_shards: 0 unassigned_shards: 0 delayed_unassigned_shards: 0 number_of_pending_tasks: 0 number_of_in_flight_fetch: 0 task_max_waiting_in_queue_millis: 0 active_shards_percent_as_number: 100.0
service documentdb
log
$ service documentdb log [2024-10-28T08:49:56,003][INFO ][o.o.s.s.c.FlintStreamingJobHouseKeeperTask] [opensearch-cluster-master-0] Finished housekeeping task for auto refresh streaming jobs. [2024-10-28T08:49:56,021][INFO ][o.o.j.s.JobSweeper ] [opensearch-cluster-master-0] Running full sweep [2024-10-28T08:54:56,021][INFO ][o.o.j.s.JobSweeper ] [opensearch-cluster-master-0] Running full sweep [2024-10-28T08:59:56,022][INFO ][o.o.j.s.JobSweeper ] [opensearch-cluster-master-0] Running full sweep [2024-10-28T09:04:56,003][INFO ][o.o.s.s.c.FlintStreamingJobHouseKeeperTask] [opensearch-cluster-master-0] Starting housekeeping task for auto refresh streaming jobs. [2024-10-28T09:04:56,003][INFO ][o.o.s.s.c.FlintStreamingJobHouseKeeperTask] [opensearch-cluster-master-0] Finished housekeeping task for auto refresh streaming jobs. [2024-10-28T09:04:56,022][INFO ][o.o.j.s.JobSweeper ] [opensearch-cluster-master-0] Running full sweep [2024-10-28T09:09:56,022][INFO ][o.o.j.s.JobSweeper ] [opensearch-cluster-master-0] Running full sweep [2024-10-28T09:14:56,022][INFO ][o.o.j.s.JobSweeper ] [opensearch-cluster-master-0] Running full sweep [2024-10-28T09:19:55,715][INFO ][o.o.a.t.CronTransportAction] [opensearch-cluster-master-0] Start running AD hourly cron. [2024-10-28T09:19:55,716][INFO ][o.o.a.t.ADTaskManager ] [opensearch-cluster-master-0] Start to maintain running historical tasks [2024-10-28T09:19:55,716][INFO ][o.o.a.c.HourlyCron ] [opensearch-cluster-master-0] Hourly maintenance succeeds [2024-10-28T09:19:56,004][INFO ][o.o.s.s.c.FlintStreamingJobHouseKeeperTask] [opensearch-cluster-master-0] Starting housekeeping task for auto refresh streaming jobs. .........
Release Information
Command introduced in Juniper Security Director Release 24.4.1.