XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Retention for log files and audit logs

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 3 Posters 88 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ForzaF Online
      Forza
      last edited by

      Is there a way to define the maximum retention on audit logs (the audit plugin in XOA) and the general XOA and XCP-ng application logs?

      Bastien NolletB 1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        That's 2 very different things. Ping @julien-f for audit logs (or @Bastien-Nollet if he's around). For XO logs, same people to ping. For XCP-ng log rotation, it's another completely different story. Have you took a look at https://docs.xcp-ng.org/guides/logs/#logrotate?

        ForzaF 1 Reply Last reply Reply Quote 1
        • ForzaF Online
          Forza @olivierlambert
          last edited by

          @olivierlambert thanks! Logrotate seems easy enough to understand and adjust if needed. It's the audit and XOA logs that I need help understanding.

          1 Reply Last reply Reply Quote 0
          • Bastien NolletB Offline
            Bastien Nollet Vates 🪐 XO Team @Forza
            last edited by Bastien Nollet

            Hi @Forza,

            This is not possible at the moment. The XO log retention is set to 20,000 entries.

            About audit logs, we have a task planned for the following months to try to add retention configuration. It's a bit complicated as deleting old audit logs interferes with audit log chain verification, so I don't think we can expect this feature to be released before a few months.

            ForzaF 1 Reply Last reply Reply Quote 0
            • ForzaF Online
              Forza @Bastien Nollet
              last edited by

              @Bastien-Nollet Thanks for checking. At least I know it is set to 20000 entries at the moment. Thank you.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post