---
title: Fix Rules with Invalid Syntax
description: "Fix Rules with Invalid SyntaxFix Rules with Invalid Syntax\nAfter an update to NetWitness 11.x, the user interface highlights any rules with invalid s"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/fixruleswithinvalidsyntax#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 28, 2026

# Fix Rules with Invalid Syntax

## Fix Rules with Invalid SyntaxFix Rules with Invalid Syntax

After an update to NetWitness 11.x, the user interface highlights any rules with invalid syntax. The Rule Editor provides additional tooltips. After you fix the rules, the highlights disappear. [Configure Decoder Rules](https://50269063.hs-sites.com/knowledge-base/ConfigureDecoderRules?hsLang=en) provides guidelines that all queries and rule conditions in NetWitness must follow.

To correct rules with invalid syntax:

1. Go to ![netwitness\_adminicon\_25x22.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/414224i3F367B40E0F0E9EA-Apr-28-2026-11-38-57-7620-AM-Apr-28-2026-03-19-14-3304-PM.png "netwitness_adminicon_25x22.png") (Admin) \> **Services**.
2. In the **Services** view, select a Decoder and ![netwitness\_ic-actns.png](https://mydev.netwitness.com/hs-fs/hubfs/Knowledge%20Base%20Import/413728i2122E6497E7A7639-Apr-28-2026-11-38-58-9102-AM-Apr-28-2026-03-18-52-6161-PM.png?width=33&height=16&name=413728i2122E6497E7A7639-Apr-28-2026-11-38-58-9102-AM-Apr-28-2026-03-18-52-6161-PM.png "netwitness_ic-actns.png")​ **\>** **View \> Config**​.
3. In the **Services Config** view, select one of the Rules tabs: Network Rules, App Rules, or Correlation Rules.  
   The Rules tab for the selected rule type shows the number of rules using invalid syntax and the invalid rules are highlighted.![netwitness\_12.1\_rulestabdeprrules-d\_1122.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/421771iFE530AFC28388C76-1.png "netwitness_12.1_rulestabdeprrules-d_1122.png")
4. Select an invalid rule and click ![netwitness\_edit.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/417756i9604A82D4F52D5FA-Apr-28-2026-11-39-19-5507-AM-Apr-28-2026-03-18-53-8260-PM.png "netwitness_edit.png").  
   The Rules Editor shows additional information for the invalid rule.  
   ![netwitness\_deprappruleeditor-d.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/413344iD506CCB0EF9D2F35-1.png "netwitness_deprappruleeditor-d.png")
5. In the **Condition** field, correct the rule syntax.  
   All string literals and time stamps must be quoted. Do not quote number values and IP addresses. [Configure Decoder Rules](https://50269063.hs-sites.com/knowledge-base/ConfigureDecoderRules?hsLang=en) provides additional details.  
   For example, if the invalid rule condition is ip.src="10.30.30.30", correct the syntax by removing the quotes: ip.src=10.30.30.30
6. Do one of the following: 
     - To correct the rule individually, click **Save**.  
       The corrected rule is applied independently to the Decoder. The corrected rule appears on the Rules tab without highlights.
     - To correct the rule and apply the rule to the Decoder later with other rules, click **OK**.  
       The corrected rule appears on the Rules tab without highlights. The rule is not applied to the Decoder.

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