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
  • How to reduce index chunk size in concentrator
  • Options
    • Subscribe to RSS Feed
    • Bookmark
    • Subscribe
    • Printer Friendly Page
    • Report Inappropriate Content

How to reduce index chunk size in concentrator

Article Number

000039902

Applies To

RSA Product Set: RSA NetWitness Logs & Network
RSA Product/Service Type: Security Analytics Server
RSA Version/Condition: 11.5.2.0
Platform: Cent OS
O/S Version: 7

Issue

If customer is using lots of custom LUA parsers, index chunk size can be unexpectedly increased as you can see below and it leads to index full filesystem issue.

# du -h /var/netwitness/concentrator/index/
12G /var/netwitness/concentrator/index/managed-values-310
12G /var/netwitness/concentrator/index/managed-values-311
12G /var/netwitness/concentrator/index/managed-values-312
0 /var/netwitness/concentrator/index/reindex
0 /var/netwitness/concentrator/index/assimilate
8.0G /var/netwitness/concentrator/index/managed-values-313
235M /var/netwitness/concentrator/index/managed-values-314
3.1G /var/netwitness/concentrator/index/managed-values-315
45G /var/netwitness/concentrator/index/

If those LUA parsers implementations are incorrectly done in terms of trying to generate too much meta or incorrectly tagging large field values to a meta, that could be the reason to grow index chunk size.

As an example, you may also observe that the following meta(s) in each index slice show a large size.

-rw-r--r--. 1 root root  29M Sep 16 17:23 sld.nwindex
-rw-r--r--. 1 root root  30M Sep 18 03:21 sld.nwindex
-rw-r--r--. 1 root root  24M Sep 20 09:08 sld.nwindex
-rw-r--r--. 1 root root  28M Sep 22 06:47 sld.nwindex
-rw-r--r--. 1 root root  30M Sep 23 16:23 sld.nwindex
-rw-r--r--. 1 root root  30M Sep 24 22:22 sld.nwindex
-rw-r--r--. 1 root root  26M Sep 26 23:10 sld.nwindex
-rw-r--r--. 1 root root  32M Sep 27 19:05 sld.nwindex
sld is a default OOTB meta named Second Level Domain and this is a text field. 
So the factors influencing the size would be the valueMax parameter used in the index-concentrator-custom.xml file. 
Also if there is a custom parser or custom implementation of the OOTB parsers which is badly written, then it could cause large text to be tagged to this meta, which could also increase the size.
 

-rw-r--r--. 1 root root  17M Sep 15 13:59 word.nwindex
-rw-r--r--. 1 root root  17M Sep 16 17:23 word.nwindex
-rw-r--r--. 1 root root  17M Sep 18 03:21 word.nwindex
-rw-r--r--. 1 root root  17M Sep 20 09:08 word.nwindex
-rw-r--r--. 1 root root  17M Sep 23 16:23 word.nwindex
-rw-r--r--. 1 root root  17M Sep 23 16:23 word.nwindex
-rw-r--r--. 1 root root  17M Sep 24 22:22 word.nwindex
-rw-r--r--. 1 root root  17M Sep 26 23:10 word.nwindex
The word meta is consistently 17MB in size, which basically implies that there seem to be parsing-related issues which are causing many word meta(s) being generated. 
Normally if the parsers are well written, only a few word meta(s) might get generated. 

Resolution

To reduce index chunk size, you need to reduce the /index/config/save.session.count config value from auto(defaults to 200 million) to 100000000(100 million) and it depends on the customer's environment. 
This might have a slight performance penalty in terms of the queries opening a few extra index slices but opening one file of 11+GB in memory is more problematic than opening 3 files of around 4 GB in size.
you can look up /index/stats/sessions.since.save stat value and see how far off from 200 million it basically is.
For your information, you can do a manual index save, (concentrator->config->index->save) in case you want to save index chunk data.
Tags (38)
  • 11.x
  • Appliance
  • Break Fix
  • Break Fix Issue
  • Broken
  • Concentrator
  • Concentrator Appliance
  • Config
  • Configuration
  • Configuration Help
  • Configuration Issue
  • Configuration Problem
  • Configuring Issue
  • Configuring Problem
  • Core Appliance
  • Customer Support Article
  • Issue
  • Issue Configuring
  • Issues
  • KB Article
  • Knowledge Article
  • Knowledge Base
  • NetWitness
  • NetWitness Appliance
  • NetWitness CConcentrator
  • NetWitness Platform
  • NW
  • NW Appliance
  • NwConcentrator
  • Problem
  • RSA NetWitness
  • RSA NetWitness Platform
  • RSA Security Analytics
  • Security Analytics
  • Setup Issue
  • SIEM
  • Version 11
  • Version 11.x
0 Likes
Was this article helpful? Yes No
No ratings

In this article

Version history
Last update:
‎2021-10-18 06:46 PM
Updated by:
Administrator RSA-KB-Sync Administrator

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.