---
title: Error occurs related to traffic_flow_options.lua file in RSA NetWitness
description: "Issue\nMetadata from the traffic_flow lua parser is not getting parsed, are not found in investigations and there is an error related to the \"traffic_f"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/error-occurs-related-to-traffic-flow-options-lua-file-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

# Error occurs related to traffic\_flow\_options.lua file in RSA NetWitness

#### Issue

 Metadata from the traffic\_flow lua parser is not getting parsed, are not found in investigations and there is an error related to the "traffic\_flow\_options.lua" file in /var/log/messages on the host.

The error log observed in /var/log/messages is something like:   
​

 Throw in function static void nw::LuaPackage::require(lua\_State\*, const string&) Dynamic exception type: boost::exception\_detail::clone\_impl std::exception::what: LUA\_ERRRUN: \[string "traffic\_flow\_options.lua"\]:125: '}' expected (to close '{' at line 23) near '\[' \[boost::errinfo\_at\_line\_\*\] = 446 module('traffic\_flow\_options')

#### Cause

 There is a syntactical error in the traffic\_flow\_options.lua file that prevents the file from parsing and thus prevents the parser from functioning properly.  

Review the log entry from /var/log/messages:    
 

 Throw in function static void nw::LuaPackage::require(lua\_State\*, const string&) Dynamic exception type: boost::exception\_detail::clone\_impl std::exception::   
what: LUA\_ERRRUN: \[string "traffic\_flow\_options.lua"\]: 125:   
'}' expected (to close '{' at line 23) near '\[' \[boost::errinfo\_at\_line\_\*\] = 446 module('traffic\_flow\_options') 

 Line breaks have been added to the log entry for clarity.

The highlighted content indicates that there is a syntactical in line 124 of the the configuration files.  There may be errors on more than this line so review all lines carefully for syntax errors.    
 

 Line Statement   
001  module('traffic\_flow\_options')    
002  --\[=\[    
003  Defaults are defined below.    
004  For proper direction meta:    
005    (a) add ALL internal subnets    
006    (b) DO NOT add any external subnets    
007  Any subnets not listed will result in "other", e.g. netname: other src    
008 Use only cidr notation. Specifically, don't use a netmask like "255.255.255.0"    
009  Both shorthand and normal cidr are valid.    
010  If netmask is omitted, /32 is assumed.    
011  --\]=\]    
012  function definitions()    
013    return {    
014         \["0/8"\] = "broadcast",    
015         \["10/8"\] = "private",    
016         \["10.2.100.0/23"\] = "vlan1122 switch02\_voice",    
017         \["10.3.100.0/23"\] = "vlan1103 switch03\_voice",    
018         \["10.4.100.0/23"\] = "vlan0114 switch04\_voice",    
019         \["10.5.100.0/23"\] = "vlan1155 switch05\_voice",    
020         \["10.6.100.0/23"\] = "vlan1166 switch06\_voice",    
            \[snipped\]    
100         \["127/8"\] = "loopback",    
101         \["169.254/16"\] = "link-local",    
102         \["172.15/12"\] = "private",    
            \[snipped\]   
124         \["172.10/16"\] = "vdi01"    
125         \["172.11.6.0/24"\] = "bldg01\_lab"    
126         \["172.12.6.0/24"\] = "bldg02\_office25"    
127         \["172.130.6.0/24"\] = "bldg03\_lab"    
            \[snipped\]   
130         \["224/4"\] = "multicast",    
132         \["240/4"\] = "reserved",    
133         \["255.255.255.255/32"\] = "broadcast",    
134    }     
135  end

Note that lines 124 through 127 do not terminate with a comma (",") which is invalid syntax.

#### Resolution

 Correct the syntax error in the file and restart the nwdecoder service to read the parsers and start processing metadata.

1. Logon to the Decoder via ssh as root.
2. Edit the options file:

 vi /etc/netwitness/ng/parsers/traffic\_flow\_options.lua

1. Enter Insert mode
2. Scroll to lines 124 through 127  and add a comma (",") at the end of each line. Note that the lines may be different than the example, so only alter the necessary lines.
3. Save and exit the file.
4. Restart the nwdecoder service:

 systemctl restart nwdecoder

Validate the changes by performing an investigation to confirm that metadata is now getting created on this appliance.

#### Product Details

**NetWitness Product Set:** NetWitness Platform   
**NetWitness Product/Service Type:** Decoder   
**NetWitness Version/Condition:** 11.x, 12.x   
**Platform:** CentOS/Alma Linux

#### Summary

Metadata from the traffic\_flow lua parser is not getting parsed, not showing in investigations and there is an error related to the traffic\_flow\_options.lua file in /var/log/messages

#### Approval Reviewer Queue

Technical 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.