
----- Original Message -----
From: "Michael Pasternak" <mpastern@redhat.com> To: "gao.song" <gao.song@neusoft.com>, users@ovirt.org Sent: Tuesday, December 4, 2012 11:19:01 AM Subject: Re: [Users] How to delete Events in RHEV?
On 12/04/2012 10:43 AM, gao.song wrote:
Hi Michael,
Is there any REST API available to delete the events in RHEV please?
no.
The events raises so fast because of the huge number of REST requests, and it causes that the RHEV environment runs very slowly. I have to find a way to clean some unimportant events.
You can customize AuditLogAgingThreashold with engine-config This key controls the automatic clean-up of the events, however , it will delete ALL events that are considered "OLD" The default value for that is 30 days.
if you using > 3.1 backend, you should be using persistent authentication in api, this way you'll have to pass JSESSIONID and login will happen only on first request.
Thanks. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Dean Gao
--------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------
--
Michael Pasternak RedHat, ENG-Virtualization R&D _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users