Bug 2064820 - [GSS][RFE] Reduce ceph Audit log verbosity
Summary: [GSS][RFE] Reduce ceph Audit log verbosity
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 4.2
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: 7.0
Assignee: Neha Ojha
QA Contact: Pawan
URL:
Whiteboard:
Depends On:
Blocks: 1725227
TreeView+ depends on / blocked
 
Reported: 2022-03-16 16:12 UTC by Karun Josy
Modified: 2023-07-06 17:54 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-06 17:54:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3798 0 None None None 2022-03-16 16:29:51 UTC

Description Karun Josy 2022-03-16 16:12:25 UTC
* Description of problem:

How can we control the verbosity of ceph audit logs? If we run a lot of ceph commands(eg: ceph df) frequently to gather metrics, this creates a lot of noise. Is there a tunable by which we can limit or restrict the audit logs to a certain level?

For example :  to only log commands that write changes into the audit log so that all passive read commands are not logged

* Version-Release number of selected component (if applicable):
RHCS 4.2

Comment 2 Yaniv Kaul 2022-03-17 12:29:27 UTC
(In reply to Karun Josy from comment #0)
> * Description of problem:
> 
> How can we control the verbosity of ceph audit logs? If we run a lot of ceph
> commands(eg: ceph df) frequently to gather metrics, this creates a lot of
> noise. Is there a tunable by which we can limit or restrict the audit logs
> to a certain level?

I don't think they should run 'ceph df' to get metrics, but request metrics we do not already provide (via Prometheus and friends).
Running CLI commands is not the way to get metrics.


Note You need to log in before you can comment on or make changes to this bug.