# Logs purge

Configure how long to keep historical log entries base on the type of the entry or globally.

<figure><img src="https://3503800744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIiEHKRx5AeABNDLcRlWX%2Fuploads%2FWZuxkzBxcq8ukKDwjHJp%2Fpurge_logs.png?alt=media&#x26;token=009caadb-2b84-4f57-abc1-45eaaa843e0f" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The log purge is done by the **`PurgeLogs`** automatic action.
{% endhint %}

{% hint style="info" %}
We advise you to purge your logs so as not to overload your instance and **avoid the keep** all option.
{% endhint %}

You can choose the first option **Change all** to setup all entries at once.

Each field allows you to delete, keep or delete after a certain period (between 1 and 120 months).

***

## General

* Add/update relation between items
* Delete relation between items
* Add the item
* Delete the item
* Restore the item
* Update the item
* Comments
* Last update
* Plugins
* Equipments refused by rules log

***

## Software

* Installation/uninstallation of software on items
* Installation/uninstallation versions on software
* Add/Remove items from software versions

***

## **Financial and administrative information**

* Add financial information to an item

***

## Users

* Add/remove profiles to users
* Add/remove groups to users
* User authentication method changes
* Deleted user in LDAP directory

***

## **Components**

* Add component
* Update component
* Disconnect a component
* Connect a component
* Delete component

***

## **All sections**

* Purge all log entries
