---
title: How To Replay Logs in RSA NetWitness
description: NwLogPlayer is a log replay utility that is available for RSA NetWitness Logs. This utility reads a log event text file that you have created by expor
---

- [Home](https://mydev.netwitness.com/home)
- 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 
    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers 
    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- 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 
    - [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 
    - [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)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

# How To Replay Logs in RSA NetWitness

- Home
 */*- [Netwitness blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
*/*- how to replay logs in rsa netwitness

 28 Mar, 2018

**Author:** Anonymous

NwLogPlayer is a log replay utility that is available for RSA NetWitness Logs. This utility reads a log event text file that you have created by exporting the logs from Investigation. The first question that comes to mind is "Why would I want to do that?". There are three typical reasons why I use it. First, is when you are developing ESA rules and you need a specific set of crafted events to reproduce your conditions for your alert. Second, is when you are developing a custom parser for those "unknown" device types. Third, is when you have a system that is a lab or development system that does not have an event source or the event source that you need.  I actually prefer to use an isolated lab/development system that has no other log sources other than what I replay to do my development work.  This way I can accurately track my replayed events vs my parsed events, so 100 replayed events should equal 100 parsed events.

To use the utility, all you need to do is install it on the system that you want to run it from. This can be any system in the NetWitness Logs stack. I typically use the Log Decoder, as it the system I am working with the most. If the total space of the log sample files are not very large (less than 100M total), I just create a "/root/logsamples" directory and put them there, then delete them when I am finished. If I am working with large log sample files, I create a "/var/netwitness/warehouseconnector/logsamples" directory as the warehouseconnector is not typically used on most Log Decoders unless you're exporting data to a Hadoop environment.

## Installation

## **NetWitness 10.x**

#### **To Install NwLogPlayer:**

1. SSH into system you wish to run it from. (Typically a Log Decoder or Main Broker)
2. Type "yum install nwlogplayer"
3. Type "y" to install
4. Press "Enter"

## **NetWitness 11.x**

#### **To Install NwLogPlayer:**

1. SSH into system you wish to run it from. (Typically a Log Decoder or Main Broker)
2. Type "yum install rsa-nw-logplayer"
3. Type "y" to install
4. Press "Enter"

#### **To use NwLogPlayer:**

1. Upload your Log sample text files to your sample directory on system that you installed NwLogPlayer
2. SSH into system that you installed NwLogPlayer
3. Type "NwLogPlayer --file  --server  "

## Examples

#### **Target and Destination:**

Path = "/root/logsamples"  
Log Sample File = "ESA-Alert-Firing-Sample.txt"  
 Virtual Log Collector = "VLC60.local"

***NwLogPlayer --file /root/logsamples/ESA-Alert-Firing-Sample.txt --server VLC60.local***

The above example will send logs to destination with the device IP being the system you ran the command from.

***NwLogPlayer --file /root/logsamples/ESA-Alert-Firing-Sample.txt --server VLC60.local --ip 10.1.1.1 -r4***

The above example will send logs to destination with the device IP of 10.1.1.1.

***NwLogPlayer --file /root/logsamples/ESA-Alert-Firing-Sample.txt --server VLC60.local --rate 100 --ip 10.1.1.1 -r4***

The above example will send logs to destination with the device IP of 10.1.1.1 at the rate of 100 EPS.

| NwLogPlayer command line syntax: |
| --- |
| --priority arg set log priority value -h \[ --help \] how this message -f \[ --file \] arg (=stdin) input file -d \[ --dir \] arg input directory -s \[ --server \] arg (=localhost) remote server -p \[ --port \] arg (=514) remote port -r \[ --raw \] arg (=0) Determines raw mode. 1= File contents will be copied line by line to the server. 0 = add priority mark. 3 = auto detect. 4 = envision stream. 5 = binary object. 6 = protobuf stream -m \[ --memory \] arg Speed test mode. Reads up to MB of messages from the file contents and replays. --rate arg Number of events per second. No effect if rate \> eps which program can achieve at continuous mode --maxcnt arg max number of messages to be sent -c \[ --multiconn \] multiple connection -t \[ --time \] arg simulate time stamp time. Format as yyyy-m-d-hh:mm:ss -v \[ --verbose \] if true will verbose output --ip arg simulate ip tag. --devicetype arg simulate device type. Applies only to envision heades (raw=4). --cid arg  simulate collector id. Applies only to envision headers (raw=4). (NetWitness 11.x versions) --ssl connect with SSL --certdir arg OpenSSL certificate authority directory. --clientcert arg use this PEM-encoded SSL client certificate --clientkey arg use this PEM-encoded private key file. If not specified the clientcert path is used. --udp send in udp -g \[ --gzip \] treat input stream as compressed gzip --version output the version of this program |

 Topic:

[0 Comment](https://mydev.netwitness.com/netwitness-security-llc-blog/howtoreplaylogsinrsanetwitness#comments-listing)

###### CATEGORIES

- All
- [Blog](https://mydev.netwitness.com/netwitness-security-llc-blog/tag/blog)

##### RECENT POST

[Netwitness Platform Integration with AWS Application Load Balancer Access logs](https://mydev.netwitness.com/netwitness-security-llc-blog/netwitnessplatformintegrationwithawsapplicationloadbalanceraccesslogs)

 23 Jul, 2024

[The Sky Is Crying: The Wake of the 19 JUL 2024 CrowdStrike Content Update for Microsoft Windows and We Should Take Away From It](https://mydev.netwitness.com/netwitness-security-llc-blog/715124)

 20 Jul, 2024

[DDoS using BotNet Use Case](https://mydev.netwitness.com/netwitness-security-llc-blog/ddosusingbotnetusecase)

 7 May, 2024

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

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Anonymous",
    "url" : "https://mydev.netwitness.com/netwitness-security-llc-blog/author/anonymous"
  },
  "dateModified" : "2026-03-20T14:09:27.261Z",
  "datePublished" : "2018-03-28T04:00:00.000Z",
  "headline" : "How To Replay Logs in RSA NetWitness",
  "mainEntityOfPage" : {
    "@id" : "https://mydev.netwitness.com/netwitness-security-llc-blog/howtoreplaylogsinrsanetwitness",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://mydev.netwitness.com/hubfs/netwitness-logo-CMYK.jpg"
    }
  }
}
```