---
title: Service is already in this deployment is returned when adding an Event Stream Analysis service in RSA NetWitness
description: "Issue\nAn error similar to below occurs when trying to add an Event Stream Analysis service to ESA Services under SA Web GUI > Alerts > Configure"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/service-is-already-in-this-deployment-is-returned-when-adding-an-event-stream-analysis-service-in-rsa-netwitness#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. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# Service is already in this deployment is returned when adding an Event Stream Analysis service in RSA NetWitness

#### Issue

 An error similar to below occurs when trying to add an Event Stream Analysis service to **ESA Services** under SA Web GUI **\> Alerts \> Configure \> DEPLOYMENTS** (for SA 10.x) or NW Web GUI **\> CONFIGURE \> ESA RULES \>DEPLOYMENTS** (for NW 11.x).   
**""** **Service is already in this deployment" The service "ESA - Event Stream Analysis" is already part of the deployment "TEST ESA** **""**

#### Cause

The error is returned when esaServiceInfos field in the synchronization table already contains some values. Synchronization database resides on SA server or NW Admin Server and it stores Event Stream Analysis rules & deployment details.

#### Resolution

1. Open the SSH to SA Server or NW Admin Server and run the below commands to verify the deployment name.  
       
    For 10.5.x and 10.6.x, perform these steps.
   
   An example of the expected output is shown below with the name of deployment highlighted in red.
   
   #mongo sa  
   \> db.synchronization.find().pretty()  
   {  
    "\_id" : ObjectId("58a2af3ce4b0bca8c6393661"),  
    "\_class" : "com.rsa.smc.sa.esa.domain.bean.Synchronization",  
    "name" : "TEST ESA",   
    "esaServiceInfos" : \[  
    {  
    "deviceId" : NumberLong(7),  
    "hostname" : "x.x.x.x",  
    "port" : 50030,  
    "lastSuccessfulSync" : ISODate("2017-12-31T16:38:34.515Z"),  
    "successfulSync" : true,  
    "master" : false  
    }  
    \],

    For 11.x, follow these steps.
   
   \# mongo admin -u deploy\_admin -p  
   Enter password:  
   \> show dbs  
   (sa shows up)  
   \> use sa  
   \> db.synchronization.find().pretty()  
   {  
    "\_id" : ObjectId("58a2af3ce4b0bca8c6393661"),   
    "\_class" : "com.rsa.smc.sa.esa.domain.bean.Synchronization",  
    "name" : "TEST ESA",  
     "esaServiceInfos" : \[  
     {  
                           "deviceId" : NumberLong(7),  
                           "hostname" : "x.x.x.x",  
                           "port" : 50030,  
                           "lastSuccessfulSync" : ISODate("2017-12-31T16:38:34.515Z"),  
                           "successfulSync" : true,  
                           "master" : false  
                   }  
           \],
2. To clear esaServiceInfos field from the synchronization table in 'sa' database, run below command on SSH to SA Server or NW Admin Server  
   **#mongo sa  
    \> db.synchronization.update({name:"  "},{$unset: {"esaServiceInfos": ""}})**    
    e.g.db.synchronization.update({name:"TEST ESA"},{$unset: {"esaServiceInfos": ""}}) if the name of deployment is "TEST ESA".
3. Add the Event Stream Analysis service to **ESA Services** under SA Web GUI **\> Alerts \> Configure \> DEPLOYMENTS** (for SA 10.x) or NW Web GUI **\> CONFIGURE \> ESA RULES \>DEPLOYMENTS** (for NW 11.x).  
    You should be successfully able to add the **ESA service** to ESA Services now.

#### Internal Comments

Updated for NW 11.x; just did this for a customer

#### Product Details

**RSA Product Set:**- Netwitness  
**RSA Product/Service Type:-** ESA, SA Server  
**RSA Version/Condition:** 10.5.x, 10.6.x, 11.x  
**Platform:** CentOS

#### Approval Reviewer Queue

RSA NetWitness Suite Approval Queue

[![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.