Masking log files

Last Updated : Jun 03, 2026 |

About this task

Use this procedure to enable POM to run a data anonymization script to encrypt or remove identifiable patterns in the generated log files.

Before you begin

Ensure that the following files are in the same location on the POM server:

  • dataScrubbing.sh

    This file uses the attributes to fetch the masked patterns.

  • attributeToMask.txt

    This file contains the following attributes:

    • phoneNumber

    • email

    • Ipaddress

You can add more attributes in the file. Ensure that you add each attribute on a new line.

The system creates a zip file that contains all the masked data files.

Procedure

  1. Open an SSH session to the POM server.

    You can use an application such as PuTTY.

  2. Verify whether the argument that POM displays is the valid path to access the log files directory.

    If the path is invalid, POM uses $POM_HOME/logs as the default path.

  3. Copy the log files that are indicated by Avaya Services to an existing folder that stores the log outputs.
  4. Run the following command:

    ./dataScrubbing.sh<log_files_path>

    For example, run the following command to anonymize the logs on the /opt/_LogAnonymize/ path.

    ./dataScrubbing.sh /opt/_LogAnonymize/