---
title: How to collect audit.log without disabling SELinux in RSA NetWitness Logs & Network 10.x and above
description: "Issue\nNeed to collect the /var/log/audit/audit.log logs on a specific Red Hat Linux system without disabling the SELinux under /etc/selinux/config fil"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/how-to-collect-audit-log-without-disabling-selinux-in-rsa-netwitness-logs-network-10-x-and-above#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

# How to collect audit.log without disabling SELinux in RSA NetWitness Logs & Network 10.x and above

#### Issue

Need to collect the /var/log/audit/audit.log logs on a specific Red Hat Linux system without disabling the SELinux under /etc/selinux/config file.

#### Resolution

 Please follow the steps below to configure collection of audit logs on the Linux event source:   
 

1. Write audit logs to /var/log/messages  
    With the default configuration, rsyslog will not send the audit logs to any syslog server. Configure audit logs to write on /var/log/messages by editing /etc/audisp/plugins.d/syslog.conf 
     1. Change active = yes
     2. Add LOG\_LOCAL6 in args
   ![User-added](https://mydev.netwitness.com/hs-fs/hubfs/Knowledge%20Base%20Import/rta_0_baea8edb-4478-408b-930c-b22f011ff7ee.jpg?width=500&height=235&name=rta_0_baea8edb-4478-408b-930c-b22f011ff7ee.jpg)
2. Set rule in /etc/rsyslog.conf to route the logs to Netwitness Log Collector or remote collectors. \<  
    Add the following:  
   *#audit log  
    $ModLoad imfile  
    $InputFileName /var/log/audit/audit.log  
    $InputFileTag tag\_audit\_log:  
    $InputFileStateFile audit\_log  
    $InputFileSeverity info  
    $InputFileFacility local6  
    $InputRunFileMonitor*  
    :  
   *#Log Forwarding to RSA Netwitness  
    \*.\* @@  :514
   
   ![User-added](https://mydev.netwitness.com/hs-fs/hubfs/Knowledge%20Base%20Import/rta_1_5e9e4f32-2e37-4ac5-9aec-58c3c9c29371.jpg?width=500&height=363&name=rta_1_5e9e4f32-2e37-4ac5-9aec-58c3c9c29371.jpg)*   
    /li\>
3. Restart auditd and rsyslog services as follows:
   
    \[root@ldecoder3 ~\]# service auditd restart   
   Stopping auditd: \[ OK \]   
   Starting auditd: \[ OK \]   
   \[root@ldecoder3 ~\]# service rsyslog restart   
   Shutting down system logger: \[ OK \]   
   Starting system logger: \[ OK \] 
   
    Once completed, go to Investigation \> Navigate and you should see the audit logs on NetWitness console
   
   ![User-added](https://mydev.netwitness.com/hs-fs/hubfs/Knowledge%20Base%20Import/rta_2_13959dd2-7fce-4f1e-a4bf-ce01fdad7eb8.jpg?width=500&height=86&name=rta_2_13959dd2-7fce-4f1e-a4bf-ce01fdad7eb8.jpg)

#### Product Details

**RSA Product Set:** NetWitness Logs & Network   
**RSA Product/Service Type:** Log Collector, Remote Collector   
**RSA Version/Condition:** 10.6.x, 11.x   
**Platform:** Linux   
**O/S Version:** RHEL 7.6

#### Summary

Collect /var/log/audit/audit.log through existing syslog channel without changing the SELinux ‘enforcing’ mode.

#### Approval Reviewer Queue

RSA NetWitness Suite 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.