You are developing a diagnostic tool to programmatically extract error events from multiple application custom logs in a specific compartment. Which OCI CLI command should your tool run to submit this log search query for a designated time window?
Oracle provides a dedicated logging-search OCI CLI command group for querying indexed log content. The documented syntax is oci logging-search search-logs, with --search-query, --time-start, and --time-end as the principal parameters required to define the Logging Query Language expression and search interval. The ordinary oci logging command group is used for administration of logs and log groups rather than searching their contents. logging-query is not a valid top-level OCI CLI service group, and --query-string is not the documented search parameter. Therefore, option B exactly matches Oracle ' s current CLI command reference for submitting a programmatic log search across custom or service logs.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit