This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject

NetWitness Community

  • Home
  • Products
    • NetWitness Platform
      • Advisories
      • Documentation
        • Platform Documentation
        • Known Issues
        • Security Fixes
        • Hardware Documentation
        • Threat Content
        • Unified Data Model
        • Videos
      • Downloads
      • Integrations
      • Knowledge Base
    • NetWitness Cloud SIEM
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Detect AI
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Investigator
    • NetWitness Orchestrator
      • Advisories
      • Documentation
      • Knowledge Base
      • Legacy NetWitness Orchestrator
        • Advisories
        • Documentation
  • Community
    • Blog
    • Discussions
    • Events
    • Idea Exchange
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Community Support Forum
      • Community Support Articles
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Training
    • Blog
    • Certification Program
    • Course Catalog
      • Netwitness XDR
      • EC-Council Training
    • New Product Readiness
    • On-Demand Subscriptions
    • Student Resources
    • Upcoming Events
    • Role-Based Training
  • Technology Partners
  • Trust Center
Sign InRegister Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
NetWitness Knowledge Base Archive
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
  • NetWitness Community
  • NetWitness Knowledge Base Archive
  • RSA NetWitness Endpoint Server stopped accepting agent data and is in unhealthy state
  • Options
    • Subscribe to RSS Feed
    • Bookmark
    • Subscribe
    • Printer Friendly Page
    • Report Inappropriate Content

RSA NetWitness Endpoint Server stopped accepting agent data and is in unhealthy state

Article Number

000039663

Applies To

RSA Product Set: RSA NetWitness Platform
RSA Product/Service Type: Endpoint Server
RSA Version/Condition: 11.5
Platform: CentOS
O/S Version: 7

 

Issue

Log Decoder service on Endpoint Log Hybrid shows 0 EPS indicating that no data is received from the Endpoint Agents configured for Windows collection.
'AGENT LAST SEEN' stats do not get updated under the Hosts page.
The logs are received and the stats are updated for a very short period after Endpoint Server service is restarted but the issue continues soon after.

endpoint-server.log shows warnings like below.
2021-03-29 19:21:42,265 [               dataprocessor-6] WARN    EndpointManagement|Retry operation failed for 15 attempts, caused by
org.bson.BsonMaximumSizeExceededException: Payload document size is larger than maximum of 16777216.

 

Cause

The issue can occur when large documents containing FILELESS_SCRIPT exceeds the Mongo DB's limitation of 16MB.
The attached test.js script can be used to determine the documents and their collection that exceed 16MB.
  1. Download test.js to the Endpoint Server.
  2. Modify test.js to replace netwitness with the actual deploy_admin password.
  3. Execute the script.
    mongo test.js
  4. Confirm documents exceeding 16MB are returned as shown in the example below.
    ...
    Collection filecontexthistory documents: 4797384
    From Collection = filecontexthistory, document Exceeds Size = 605fa9348c4a4924bfe5b4fc
    From Collection = filecontexthistory, document Exceeds Size = 605fb376d638001695cbe1ea
    From Collection = filecontexthistory, document Exceeds Size = 6062424b336def5ba96163f2
    ...

     

Resolution

In order to resolve the issue, delete the documents that exceed 16MB.
  1. Back up the collection(s).
    mongoexport --ssl --sslAllowInvalidHostnames -u deploy_admin --authenticationDatabase admin --db endpoint-server --collection <collection_name> --out /root/<collection_name>.json
    e.g. mongoexport --ssl --sslAllowInvalidHostnames -u deploy_admin --authenticationDatabase admin --db endpoint-server --collection filecontexthistory --out /root/filecontexthistory.json
     
  2. Delete every document noted in step 4 in Cause.
    mongo admin -u deploy_admin
    use endpoint-server 
    db.<collection_name>.remove({"_id" : ObjectId("<The Returned IDs>")})
    
    e.g. db.filecontexthistory.remove({"_id" : ObjectId("605fa9348c4a4924bfe5b4fc")})
     
  3. Exist the Mongo console and run 'mongo test.js' to confirm no document is found to be exceeding the size.
     
  4. Restart Endpoint Server service.
    systemctl restart rsa-nw-endpoint-server 
The issue is commonly noticed in environments where the Endpoint agents version is on 11.5.1 or older due to the bug which is fixed in 11.5.2 per ASOC-104219/SACE-14786. To avoid encountering the issue again, the agents need to upgrade to 11.5.2 or later.
 

Notes

If the issue persists, collect the following to investigate further.
  1. Mongo outputs.
    mongo admin -u deploy_admin
    use endpoint-server
    db.file.count()
    db.file.find({firstFileName : /FILELESS_SCRIPT/}).count()
    db.filecontexthistory.count()
    db.filecontexthistory.find({firstFileName : /FILELESS_SCRIPT/}).count()
  2. SOSReport after enabling the debugging for Endpoint Server service.
    From Endpoint Server service's Explore view, select logging, click on the field next to levels, and enter EndpointManagement:DEBUG,AgentManagement:DEBUG
    Collect SOSReport
  3. Number of Endpoint agents deployed and its version.

 
Tags (40)
  • 11.x
  • Access
  • Availability
  • Break Fix
  • Break Fix Issue
  • Broken
  • Customer Support Article
  • ECAT
  • Endpoint
  • Frequent Issue
  • Functionality
  • Intermittent
  • Intermittent Functionality
  • Intermittently
  • Issue
  • Issues
  • KB Article
  • Knowledge Article
  • Knowledge Base
  • NetWitness
  • NetWitness Endpoint
  • NetWitness Platform
  • NW
  • NW Endpoint
  • NWE
  • Problem
  • Recurring Issue
  • RSA ECAT
  • RSA NetWitness
  • RSA NetWitness Endpoint
  • RSA NetWitness Platform
  • RSA Security Analytics
  • Security Analytics
  • SIEM
  • Sporadic
  • Stability
  • Unstable
  • Uptime
  • Version 11
  • Version 11.x
0 Likes
Was this article helpful? Yes No
0% helpful (0/1)

In this article

Version history
Last update:
‎2023-07-27 05:20 AM
Updated by:
Contributor kvj Contributor

Related Content

Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Acceptable Use Policy
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.