---
title: Configure Audit 0.4.0
slug: admin-en/configure-audit-040
description: Learn how to install and configure the Auditing function in 4biz Tracker 8 version 0.4.0 with this technical document. Follow step-by-step instructions for setting up the Audit feature, including adjustments to the Wildfly configuration files and MongoDB 
createdAt: 2021-12-16T16:54:05.000Z
---

The goal of this document is to provide technical information regarding the installation and configuration to use the Auditing function (Audit), version 0.4.0 (itsm-audit-0.4.0) of <font color="#ff6900">**4biz** </font>Tracker 8.

## Before getting started[](https://docs.run2biz.com/configurar-o-audit-040#of-antes-de-comecar)

- [x] Check out the new features of version 0.4.0

* It is not required to have active external AcitiveMQ;
* It is not necessary to have a service executing the audit .jar;
* Audit is now .war and it is executed inside Wildfly with ITSM, on the folder "**\deployments**";

## Procedure[](https://docs.run2biz.com/configurar-o-audit-040#pu-procedimento)

`Add the following lines to the wildfly standalone on activemq subsystem:`

````java
    <jms-queue name="ITSM.READ_DATA_AUDIT" entries="queue/ITSM.READ_DATA_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_DATA_AUDIT"/>
    <jms-queue name="ITSM.READ_LICENSE_AUDIT" entries="queue/ITSM.READ_LICENSE_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_LICENSE_AUDIT"/>
    <jms-queue name="ITSM.READ_ACCESS_AUDIT" entries="queue/ITSM.READ_ACCESS_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_ACCESS_AUDIT"/>
    <jms-queue name="ITSM.READ_BACKUP_AUDIT" entries="queue/ITSM.READ_BACKUP_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_BACKUP_AUDIT"/>
    ```
````

`Add the following lines to the wildfly standalone on system-properties (the same as EVM e Inventory):`

````java
    <property name="mongodb.host" value="localhost"/>
    <property name="mongodb.port" value="27017"/>
    <property name="mongodb.user" value="mongodb"/>
    <property name="mongodb.password" value="mongodb"/>
    <property name="mongodb.dabase.audit" value="itsm-audit"/>
    ```
````

:::hint{type="info"}
🖊 <u>**Note**</u>**:** Configure the conNection of mongo database with host, port, user, pass, and database (which will probably be already set, as EVM and Inventory also use these configurations). It is necessary that the user (Mongo) has the proper permission to read and write on the informed database.
:::

In <font color="#ff6900">**4biz**</font>**,&#x20;**&#x63;onfigure the **parameter 425**, informing the Audit URL

(Ex: [http://localhost:8080/itsm-audit](http://localhost:8080/itsm-audit));

1. Add the **Audit WAR** on the folder deployments (or use the Wildfly console) and start Wildfly with <font color="#ff6900">**4biz**</font>; ﻿
2. After these steps, the audit should be running.



