This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
OK
  • RSA.com
  • Products
    • Archer®
      • Archer®
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Knowledge Base
      • Archer® Exchange
      • Training
      • Upcoming Events
      • Videos
    • RSA® Fraud & Risk Intelligence Suite
      • RSA® Fraud & Risk Intelligence Suite
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Web Threat Detection
      • Upcoming Events
      • Videos
    • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Cloud
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Events
      • Ideas
      • Knowledge Base
      • Training
      • Upcoming Patch Content
      • Videos
    • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication Mobile SDK
      • Advisories
      • Events
      • Ideas
      • Knowledge Base
      • Request Access
      • Training
    • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Events
      • Ideas
      • Knowledge Base
      • Training
      • Videos
    • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Events
      • Ideas
      • Knowledge Base
      • Training
      • Videos
    • RSA® Adaptive Authentication for eCommerce
      • RSA® Adaptive Authentication for eCommerce
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Ideas
      • Knowledge Base
      • Training
      • Videos
    • RSA® FraudAction Services
      • RSA® FraudAction Services
      • Advisories
      • Discussions
      • Documentation
      • Ideas
      • Videos
    • RSA® Web Threat Detection
      • RSA® Web Threat Detection
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Knowledge Base
      • Videos
    • RSA NetWitness® Platform
      • RSA NetWitness® Platform
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Integrations
      • Knowledge Base
      • Training
      • Upcoming Events
      • Videos
    • RSA NetWitness® Detect AI
      • RSA NetWitness® Detect AI
      • Documentation
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
    • RSA NetWitness® Investigator
      • RSA NetWitness® Investigator
      • Documentation
      • Download the Client
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
    • RSA NetWitness® Orchestrator
      • RSA NetWitness® Orchestrator
      • Overview
      • Documentation
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
    • RSA SecurID® Suite
      • RSA SecurID® Suite
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Knowledge Base
      • Ideas
      • Integrations
      • Training
      • Videos
    • RSA® Identity Governance & Lifecycle
      • RSA® Identity Governance & Lifecycle
      • Advisories
      • Blog
      • Community Exchange
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Knowledge Base
      • Training
      • Upcoming Events
      • Videos
    • RSA SecurID® Access
      • RSA SecurID® Access
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Integrations
      • Knowledge Base
      • Training
      • Upcoming Events
      • Videos
    • Other RSA® Products
      • Other RSA® Products
      • RSA® Access Manager
      • RSA® Data Loss Prevention
      • RSA® Digital Certificate Solutions
      • RSA enVision®
      • RSA® Federated Identity Manager
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
  • Resources
    • Advisories
      • Product Advisories on RSA Link
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Hosted
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Product Advisories
    • Blogs
      • Blogs on RSA Link
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Blogs on RSA Link
    • Discussion Forums
      • Discussion Forums
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Discussion Forums on RSA Link
    • Documentation
      • Product Documentation
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Documentation on RSA Link
    • Downloads
      • Product Downloads
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Downloads on RSA Link
    • Ideas
      • Idea Exchange
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Documentation on RSA Link
    • Knowledge Base
      • Knowledge Base
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Knowledge Base Pages on RSA Link
    • Upcoming Events on RSA Link
      • Upcoming Events
    • Videos
      • Videos on RSA Link
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Videos on RSA Link
  • Support
    • RSA Link Support
      • RSA Link Support
      • News & Announcements
      • Getting Started
      • Support Forum
      • Support Knowledge Base
      • Ideas & Suggestions
    • RSA Product Support
      • RSA Product Support
      • General Security Advisories and Statements
      • Product Life Cycle
      • Support Information
      •  
      •  
      •  
      •  
      •  
  • RSA Ready
  • RSA University
    • Certification Program
      • Certification Program
    • Course Catalogs
      • Course Catalogs
    • On-Demand Subscriptions
      • On-Demand Subscriptions
      • Archer®
      • RSA NetWitness® Platform
      • RSA SecurID® Suite
    • Product Training
      • Product Training
      • Archer®
      • RSA® Fraud & Risk Intelligence Suite
      • RSA® Identity Governance & Lifecycle
      • RSA NeWitness® Platform
      • RSA SecurID® Access
    • Student Resources
      • Student Resources
      • Access On-Demand Learning
      • Access Virtual Labs
      • Contact RSA University
      • Enrollments & Transcripts
      • Frequently Asked Questions
      • Getting Started
      • Learning Modalities
      • Payments & Cancellations
      • Private Training
      • Training Center Locations
      • Training Credits
      • YouTube Channel
    • Upcoming Events
      • Upcoming Events
      • Full Calendar
      • Conferences
      • Live Classroom Training
      • Live Virtual Classroom Training
      • Webinars
Sign In Register 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: 
Announcements

RSA Link website migration to new platform is in progress

View Status

RSA NetWitness® Platform Blog

Subscribe to the official RSA NetWitness Platform blog for information about new product features, industry insights, best practices, and more.
  • RSA Link
  • :
  • Products
  • :
  • RSA NetWitness Platform
  • :
  • Blogs
  • :
  • RSA LogParserDiffTool

RSA LogParserDiffTool

PoojaHaveri
Employee PoojaHaveri
Employee
7 0 1,854
  • Subscribe to RSS Feed
  • Mark as New
  • Mark as Read
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
‎2017-11-14 08:33 AM

The "Log Parser Diff Tool" is a newly developed tool, by request of our customers, that performs a “difference” operation between any 2 log parsers and produces the result as an html report. The report shows the newly added, updated and deleted headers and message id’s in the parser.

 

The differences found could be in content definition, functions used in a message or content definition in a header. All of the differences in the value-map section of the parser is also listed.

 

A user can run the LogParserDiffTool on Microsoft Windows and Apple Mac systems. You must have a version of Python 3 running on your system in order to properly run the tool. You can download Python version 3 here: https://www.python.org

 

Please visit the following sites for more details about using Python in Windows or Apple environments:

Windows: https://docs.python.org/3/using/windows.html

Mac:  https://docs.python.org/3/using/mac.html

 

Syntax for the Log Parser Diff Tool:

A user invokes the tool slightly different based on the OS where the Python script is being run. 

 

For example:

On a Mac, the syntax is as follows:

$ python3 LogParserdiffTool.py <old> <new> [-all]

 

On Windows, the syntax is as follows:

c:\> LogParserdiffTool.py <old> <new> [-all]

                        Or

c:\> python3 LogParserdiffTool.py <old> <new> [-all]

  

<old>: Older version of the parser information. It can be a file or the envision content.

<new>: Newer version of the parser information. It can be a file or envision content.

Note: It is important to maintain the parameter expectation of old followed by new (LogParserdiffTool.py <old> <new>)

 

Usage:

<old> and <new> argument can be the following:

  1. Netwitness /etc folder in the Log Decoder  
  2. Individual Parser files (in *.envision Format when downloaded from Live)
  3. Individual Parser files (in *msg.xml Format)
  4. Table-map xml files can also be compared.

 

To use the script, you need two of the same items from the above list, one to serve as a baseline (old), and one to serve as the updated version (new) that contains XML differences from the baseline version. 

Without the -all argument, some devices which are mentioned below, will be excluded to reduce execution time and output file size.  These devices are typically signature-based with large and frequent updates; hence their content updated will not be included in the output report unless the user uses the -all argument. 

  1. Ciscoidsxml
  2. dragonids
  3. intrushield
  4. iss
  5. netscreenidp
  6. snort
  7. tippingpoint

 

You can include these event sources in the report by specifying the -all parameter when you run the script.

Examples of How to Use the Tool:

Example 1

This example assumes:

  • You have two copies of ciscoasamsg.xml, from two different releases.
  • You have placed the older copy (the one from the earlier release) into a folder named 83.
  • You have placed the newer copy (the one from the later release) into a folder named 84.

In this situation, if you are using a PC, you open a Command Prompt and run the following:

c:\temp> $ LogParserdiffTool.py 83\ciscoasamsg.xml 84\ciscoasamsg.xml

Running this command generates a report that contains the differences (if any) for the ciscoasamsg parser.

Example 2

This example assumes:

  • You have two copies of table-map.xml, from two different releases.
  • You have placed the older copy (the one from the earlier release) into a folder named 83.
  • You have placed the newer copy (the one from the later release) into a folder named 84.

In this situation, if you are using a PC, you open a Command Prompt and run the following:

c:\temp> $ LogParserdiffTool.py 83\table-map.xml 84\table-map.xml

Running this command generates a report that contains the differences (if any) between the two versions of the tablemap.xml file.

Example 3

This example assumes:

  • You have two copies of ciscoasamsg.envision, from two different releases.
  • You have placed the older copy (the one from the earlier release) into a folder named 83.
  • You have placed the newer copy (the one from the later release) into a folder named 84.

In this situation, if you are using a PC, you open a Command Prompt and run the following:

c:\temp> $ LogParserdiffTool.py 83\ ciscoasamsg.envision 84\ ciscoasamsg.envision

Running this command generates a report that contains the differences (if any) between the two versions of the ciscoasamsg.envision parser.

Example 4

This example assumes:

  • You have two copies of unzipped envision files in the Log Decoder Directory Structure (…/etc/devices), from two different releases or Log Decoders where there are multiple parsers
  • You have placed the older copy (the one from the earlier release) into a folder named old
  • You have placed the newer copy (the one from the later release) into a folder named new

In this situation, if you are using a PC, you open a Command Prompt and run the following:

c:\temp> $ LogParserdiffTool.py old\  new\

Running this command generates a report that contains the differences (if any) between the multiple parsers of different versions.

This new tool can come in very handy, as all the necessary changes made can be viewed in a single report, which are demonstrated in the images below.

Sample Reports:

Multiple Parsers report:

multiple.png

Overall Result:

overall.png

Detailed Header Results:

detailed header.png

Detailed Message Results:

detailed message.png

Detailed ValueMap Results:

valuemap.png

We hope you find this tool useful and welcome any feedback or suggestions for improvement. Please feel free to leave any constructive feedback in the comments below and if you have any questions, please reach out to parser_content_team@rsa.com.

 

Assisted by

Saket Bajoria‌

LogParserdifftool.py.zip
Labels
  • Resources
Tags (9)
  • Tags:
  • Log Parser Tool
  • NetWitness
  • netwitness log parsers
  • netwitness logs & packets
  • NW
  • NWP
  • resource
  • RSA NetWitness
  • RSA NetWitness Platform
7 Likes
Share

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

  • Comment
Latest Articles
  • Network Cloud Visibility with AWS Traffic Mirrorin...
  • Analysing EVTX files in NetWitness through Winlogb...
  • NetWitness Retention Script: Understanding The Nu...
  • Interface Bonding - Putting it all together
  • Using RSA Logs and/or Packets to Send or Receive D...
  • video 35002
  • video 35001
  • Amazon Cloudwatch Event Source Log Configuration G...
Labels
  • Announcements 43
  • Events 2
  • Features 5
  • Resources 43
  • Tutorials 10
  • Use Cases 6
  • Videos 132
Powered by Khoros
  • Products
  • Resources
  • Solutions
  • RSA University
  • Support
  • RSA Labs
  • RSA Ready
  • About RSA Link
  • Terms & Conditions
  • Privacy Statement
  • Provide Feedback
© 2020 RSA Security LLC or its affiliates.
All rights reserved.