oracle / oracle/oci-cli

Default logging-search search-logs is 1000, --limit does not take effect

Open
#443 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

logging-search search-logs --limit does not take effect. It only return max 1000 entries.

oci --profile $region logging-search search-logs --search-query '$query' --time-start $startdate --time-end $enddate --limit $limit

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the logging-search search-logs --limit command shown in the issue, then trace how that command handles the limit and the 1000-entry cap. Done means the requested --limit value affects the number of returned entries rather than always stopping at 1000.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.