---
title: UEBA Configuration Troubleshooting
description: Troubleshooting UEBA Configurations   This section provides information about possible issues when using NetWitness UEBA. Task Failure Issues in
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/uebaconfigurationtroubleshooting#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Documentation](https://mydev.netwitness.com/knowledge-base/documentation?hsLang=en)

April 8, 2026

# UEBA Configuration Troubleshooting

## Troubleshooting UEBA Configurations

This section provides information about possible issues when using NetWitness UEBA.

## Task Failure Issues in Airflow

- **Column 1:** **Problem**
- **Column 2:**
  
  The userId\_output\_entities task fails when the username contains a backslash.

- **Column 1:** **Cause**
- **Column 2:**
  
  When events with usernames containing a backslash character is passed through UEBA, then the userId\_output\_entities task fails.

- **Column 1:** **Solution**
- **Column 2:**
  
  To resolve these issue contact the customer success to obtain the relevant files and execute the following steps:
  
    - Stop airflow-scheduler service.
    - Remove all MongoDB documents in the "aggr", "accm" and "input" collections that contains context.userId with hashtag. These documents can be located using the FindCollecionsContainsBackslash.js script.
    - Replace the /var/netwitness/presidio/flume/conf/adapter/transformers/authentication.json file with the updated authentication .json.
    - Restart the airflow-scheduler service.
    - Validate that the next run of the userId\_output\_entities task is completed successfully.

- **Column 1:** **Problem**
- **Column 2:**
  
  The AUTHENTICATION\_userId\_build\_feature\_historical\_data task fails when the username contains a hashtag.

- **Column 1:** **Cause**
- **Column 2:**
  
  When events with usernames containing a hashtag character is passed through UEBA, then the AUTHENTICATION\_userId\_build\_feature\_historical\_data task fails.

- **Column 1:** **Solution**
- **Column 2:**
  
  To resolve these issue contact the customer success to obtain the relevant files and execute the following steps:
  
    - Stop airflow-scheduler service.
    - Remove all MongoDB documents in the "aggr", "accm" and "input" collections that contains context.userId with hashtag. These documents can be located using the FindCollecionsContainsHashtagContextUserId.js script.
    - Replace the /var/netwitness/presidio/flume/conf/adapter/transformers/authentication.json file with the updated authentication .json.
    - Restart the airflow-scheduler service.
    - Validate that the next run of AUTHENTICATION\_userId\_build\_feature\_historical\_data task is completed successfully.

- **Column 1:** **Problem**
- **Column 2:**
  
  The task output\_forwarding\_task fails in Airflow UI for userId\_hourly\_ueba\_flow DAG due to Elasticsearch 'too many clauses' exception.

- **Column 1:** **Cause**
- **Column 2:**
  
  The output\_forwarding\_task task in the userId\_hourly\_ueba\_flow DAG fails in the Airflow UI. The failure is caused by an Elasticsearch exception with the following message: "caused\_by":{"type":"too\_many\_clauses","reason":"maxClauseCount is set to 1024"}. The too\_many\_clauses error occurs when the number of clauses in an Elasticsearch query exceeds the maximum limit set by the system. In this case, the maximum number of clauses was set to 1024. The output\_forwarding\_task exceeded this limit, which caused the failure.

- **Column 1:** **Solution**
- **Column 2:**
  
  To increase the max clause count value, execute the following steps:
  
    1. SSH to UEBA server.
    2. Open the /etc/elasticsearch/elasticsearch.yml file.
    3. Update the max clause count parameter value:
       
       indices.query.bool.max\_clause\_count: 1500
    4. Restart the elasticsearch service using the following command:
       
       systemctl restart elasticsearch
       
       **Note:** After restarting, the task may fail and will be automatically retried.

- **Column 1:** **Problem**
- **Column 2:**
  
  The TLS model is taking too long to complete tasks.

- **Column 1:** **Cause**
- **Column 2:**
  
  If the TLS\_raw\_model\_task and **TLS\_aggr\_model** tasks take more than 20 hours to process the data.

- **Column 1:** **Solution**
- **Column 2:**
  
  You need to enable the configuration in application.properties file to improve the processing time by executing the following steps.
  
    1. SSH to UEBA server.
    2. Navigate to the following path:
       
       /etc/netwitness/presidio/configserver/configurations/application.properties
    3. Add or update the following configuration:
       
       presidio.ade.enable.short.time.range=true
  
  **Note:** This is only applicable to the 12.3 version.

- **Column 1:** **Problem**
- **Column 2:**
  
  Out of Memory exception in Model DAG.

- **Column 1:** **Cause**
- **Column 2:**
  
  When you encounter an out of memory exception in any model DAG, it may be because of I/O operations with the database in a single thread. It could also be due to insufficient memory allocated for the respective operator of the task.

- **Column 1:** **Solution**
- **Column 2:**
  
  To prevent out of memory exceptions on any of the model DAG, add or modify the configuration in the application.properties file. Follow these steps to make the required changes:
  
    1. SSH to UEBA server.
    2. Navigate to the following path:
       
       /etc/netwitness/presidio/configserver/configurations/application.properties
    3. Do one of the following based on your requirement:
       
           - Add the parameter presidio.model.store.size=5000.
           - Change the size of parameter presidio.model.store.size to 5000.
  
  **Note:** This is only applicable to the 12.3.1 version.

- **Column 1:** **Problem**
- **Column 2:**
  
  Invalid username and password are displayed in Adapter dags after upgrading UEBA to the 12.3.1 version.

- **Column 1:** **Cause**
- **Column 2:**
  
  After upgrading UEBA to version 12.3.1, UEBA is unable to retrieve data from the Broker because the Broker password contains special characters such as (@/! ), which prevent it from being parsed.

- **Column 1:** **Solution**
- **Column 2:**
  
  Complete the following steps to reset the password of the Broker service.
  
  **Note:** NetWitness recommends you use only alpha-numeric characters and no special characters for the Broker service.
  
    1. Log in to the NetWitness Platform.
    2. Go to the ![AdminIcon.png](https://mydev.netwitness.com/hs-fs/hubfs/Knowledge%20Base%20Import/428397iBDBC08B9E450C3EA.png?width=28&height=24&name=428397iBDBC08B9E450C3EA.png "AdminIcon.png") **(Admin)** \> **Services** page.
    3. In the **Services** list, select the Broker service and click ![actions\_button.png](https://mydev.netwitness.com/hs-fs/hubfs/Knowledge%20Base%20Import/428398i38AF061C04735536.png?width=27&height=17&name=428398i38AF061C04735536.png "actions_button.png") \> **View** \> **Explore**.
    4. On the **Explore** page of Broker service, in the left panel, click **users** \> **accounts** \> **uebauser** \> **config** and set the new password in the **Password (password)** field.
    5. Go to the **Broker** \> **Security** \> select the **uebauser**, enter the new password in the **Password** and **Confirm Password** fields.
    6. Restart the Broker service.
    7. Run the ueba-server-config script with a new username and password:
       
       sh /opt/rsa/saTools/bin/ueba-server-config -u uebauser -p  -h  -t  -s '  ' -o broker -e -v
       
       For example, sh /opt/rsa/saTools/bin/ueba-server-config -u uebauser -p Netwitness12 -h 10.0.0.0 -t 2023-11-20T00:00:00Z -s 'AUTHENTICATION FILE ACTIVE\_DIRECTORY PROCESS REGISTRY TLS' -o broker -e -v

- **Column 1:** **Problem**
- **Column 2:**
  
  Task failure in root DAG due to Airflow issue.

- **Column 1:** **Cause**
- **Column 2:**
  
  In the root DAG, one of the tasks failed unexpectedly due to an existing issue with the airflow system.
  
  ![task\_root.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/429170iD015091F12A44C57.png "task_root.png")

- **Column 1:** **Solution**
- **Column 2:**
  
  Whenever this issue occurs, you must examine the logs related to the specific failed task and verify whether the following log entry is present: dagrun.py:465} INFO - (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "task\_instance\_pkey". In such situations, you can safely ignore this issue as it does not require further action.
  
  This issue does not impact the functionality of UEBA.

## MongoDB I/O Operations Slowness Issue

- **Column 1:** **Problem**
- **Column 2:**
  
  Increased execution time for DAGs with Mongo I/O Operations.

- **Column 1:** **Cause**
- **Column 2:**
  
  Some of the DAGs in the system experienced increased execution time due to slow MongoDB Input/Output (I/O) operations.

- **Column 1:** **Solution**
- **Column 2:**
  
  To increase the MongoDB cache size in the MongoDB config file, execute the following steps:
  
    1. SSH to UEBA server.
    2. Open the /etc/mongod.conf file.
    3. Update the internalQueryMaxBlockingSortMemoryUsageBytes value to 1GB (1053554432 bytes).
       
       internalQueryMaxBlockingSortMemoryUsageBytes: 1053554432
    4. Restart the Mongod service using the following command:
       
       systemctl restart mongod
       
       **Note:** After restarting, the task may fail and will be automatically retried.

## User Interface Inaccessible

- **Column 1:** **Problem**
- **Column 2:**
  
  The User Interface is not accessible.

- **Column 1:** **Cause**
- **Column 2:** You have more than one NetWitness UEBA service existing in your NetWitness deployment and you can only have NetWitness UEBA service in your deployment.

- **Column 1:** **Solution**
- **Column 2:**
  
  Complete the following steps to remove the extra NetWitness UEBA service.
  
    1. SSH to NW Server and run the following commands to query the list of installed NetWitness UEBA services.  
       \# orchestration-cli-client --list-services|grep presidio-airflow  
       ... Service: ID=7e682892-b913-4dee-ac84-ca2438e522bf, NAME=presidio-airflow, HOST=xxx.xxx.xxx.xxx:null, TLS=true  
       ... Service: ID=3ba35fbe-7220-4e26-a2ad-9e14ab5e9e15, NAME=presidio-airflow, HOST=xxx.xxx.xxx.xxx:null, TLS=true
    2. From the list of services, determine which instance of the presidio-airflow service should be removed (by looking at the host addresses).
    3. Run the following command to remove the extra service from Orchestration (use the matching service ID from the list of services):  
       \# orchestration-cli-client --remove-service --id
  
  **Note:** Run the following command to update NW Server to restore NGINX:  
  \# orchestration-cli-client --update-admin-node
  
    1. Log in to NetWitness, go to ![AdminIcon\_25x22.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/423993i9A8942D0A5BFE3C6.png "AdminIcon_25x22.png")**(Admin) \> Hosts**, and remove the extra NetWitness UEBA host.

## Get UEBA Configuration Parameters

- **Column 1:** Issue
- **Column 2:**
  
  How to get UEBA configuration parameters?

- **Column 1:** Explanation
- **Column 2:**
  
  In order to get the UEBA configuration main parameters, run the curl [http://localhost:8888/application-default.properties](http://localhost:8888/application-default.properties) command from the UEBA machine.  
  ![ParaConf\_1453x584.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/423994iC7253CD82C58517F.png "ParaConf_1453x584.png")  
  The main parameters which will be returned are the following:
  
    - uiIntegration.brokerId: The Service ID of the NW data source (Broker / Concentrator)
    - dataPipeline.schemas: List of schemas processed by the UEBA
    - dataPipeline.startTime: The date the UEBA started consuming data from the NW data source
    - outputForwarding.enableForwarding: The UEBA Forwarder status

- **Column 1:** Resolution
- **Column 2:**
  
  See the resolution for these statistics in the [Troubleshooting UEBA Configurations](https://mydev.netwitness.com/knowledge-base/uebaconfigurationtroubleshooting#Health_and_Wellness_Issues) section.

## Check UEBA Progress Status using Airflow:

- **Column 1:** Issue
- **Column 2:**
  
  How to check UEBA progress status using Airflow?

- **Column 1:**
- **Column 2:**
  
  **Note:** To access the Airflow UI, you must use the **deploy\_admin** credentials.
  
    1. Navigate to- https://  /admin. Enter the admin username and the deploy-admin password. The following image is of the Airflow home page that shows the system is working as expected.   
       ![UEBAArFlw\_531x269.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/423995i53E2899EFF3DD38B.png "UEBAArFlw_531x269.png")
    2. Make sure that no red or yellow circles appear in the main page:
       
           - red circle indicates that a task has failed.
           - yellow circle indicates that a task has failed and is “awaiting” for a retry.
        If a “failed” or “up-for-retry” task appears, investigate what is the root cause of the problem.
    3. Make sure the system continues to run.
    4. Tap the **Browse** button and select **Task Instance**.
    5. Add the following filters: **State** = running and **Pool** = spring\_boot\_jar\_pool.  
       The Task Instance page is displayed.  
       ![UEBAStatus\_403x117.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/423996iA21E2CA82C598FCA.png "UEBAStatus_403x117.png")
  
  The **Execution Date** column shows the current time window for each running task. Make sure the execution date is greater than the UEBA start-date and that new tasks have an updated date are added to the table.

- **Column 1:** Resolution

- **Column 1:**

## Check if data is received on the UEBA by Kibana:

- **Column 1:** Issue
- **Column 2:** How to check if data is received on the UEBA by Kibana:

- **Column 1:** Explanation
- **Column 2:**
  
  **Note:** To access the Kibana UI, you must use the **deploy\_admin** credentials.
  
   Navigate to- https://  /kibana. Enter the admin username and deploy-admin password: To check that the data is flowing to the UEBA go to the Adapter Dashboard: Tap the Dashboard tab in the left menu Tap Adapter Dashboard at the right menu Select the relevant time range at the top bar The charts on this dashboard will present you the data that already fetched by the UEBA.   
  ![adapter\_dashboard\_411x180.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/423997i5AD44FA81D872F51.png "adapter_dashboard_411x180.png")

## Scaling Limitation Issue

When installed on a Virtual Machine, you can determine the number of network events to be processed by referring to the latest version of the **Learning Period Per Scale** topic.

**Note:** If the scaling limits are exceeded, NetWitness recommends provisioning the UEBA on a physical appliance.

- **Column 1:** Issue
- **Column 2:**
  
  How to determine the scale of network events currently available, to know if it exceeds the UEBA limitation.

- **Column 1:** Solution
- **Column 2:**
  
  To know the network data limit, perform the following :
  
    - Run the query on the Broker or Concentrator that connects to UEBA using NetWitness UI:
  
  servic ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, always refer to the latest version of the **Learning Period for Scale** topic.
  
  ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, perform the following :,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, endpoint and network (packets). UEBA packets models are based on the whole environment. Hence, make sure that the data parsed from the subset of Concentrators is consistent.,,,,,, ,,,,,,, duplicate values are displayed in the Statistics drop-down.

- **Column 1:** Solution
- **Column 2:** ,,,,,,, perform the following:,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, the connection between the NetWitness and NetWitness UEBA is successful but there are very few or no events in the **Users** \> **OVERVIEW** tab.,,,,,,, ,,,,,,, ,,,,,,, see the number of successful events per schema per hour.
- In the **Total Events vs. Success Events** graph, see the total number of events and number of successful events. The number of successful events should be more every hour.

,,,,,, in an environment with 1000 users or more, there should be thousands of authentication and file access events and more than 10 Active Directory events. If there are very few events, there is likely an issue with Windows auditing.,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, see 

**NetWitness UEBA Windows Audit Policy**

 topic.,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, and see if the events are scored.,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, and see how many users are analyzed and if any anomalies are found.,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, click 

**execute**

.

A zip file is downloaded. 

- Unzip the file and open the log file to view and resolve the error.
- In the **DAGs** \> **reset\_presidio**, click **Trigger Dag**.  
  This deletes all the data and compute all the alert from the beginning.

,,,,,, if the hours are processed successfully but there are no events, you must click reset\_presidio after fixing the data in the Broker. Do not reset if there are alerts.,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,, ,,,,,,,

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.