---
title: "NetWitness Log Collector/Log Decoder: Oracle 12c: Failed to onboard the SYS.UNIFIED_AUDIT_TRAIL"
description: "Issue\nWhen using the Oracle 12c ODBC event source on a Log Collector, an error occurs in /var/log/messages due to invalid timestamp formatting:\nNwLogC"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/netwitness-log-collector-log-decoder-oracle-12c-failed-to-onboard-the-sys-unified-audit-trail#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. [How To](https://mydev.netwitness.com/knowledge-base/how-to?hsLang=en)

June 5, 2026

# NetWitness Log Collector/Log Decoder: Oracle 12c: Failed to onboard the SYS.UNIFIED\_AUDIT\_TRAIL

| ![Applies To](https://mydev.netwitness.com/hs-fs/hubfs/Applies%20To.png?width=122&height=40&name=Applies%20To.png) |
| --- |

**Product Set:** NetWitness Platform   
**Product/Service Type:** Log Collector, VLC   
**Version:** 12.x   
**Platform:** CentOS   
**Platform (Other):** ODBC, Oracle 12c   
**O/S Version:** EL7

| ![Subject of Article](https://mydev.netwitness.com/hs-fs/hubfs/Subject%20of%20Article.png?width=230&height=34&name=Subject%20of%20Article.png) |
| --- |

NetWitness Log Collector/Log Decoder: Oracle 12c: Failed to onboard the SYS.UNIFIED\_AUDIT\_TRAIL

---

Issue Description:

 When using the Oracle 12c ODBC event source on a Log Collector, an error occurs in /var/log/messages due to invalid timestamp formatting:

NwLogCollector\[17121\]: \[OdbcCollection\] \[failure\] \[oracle\_12c\_auditing.xxxxxx\] \[processing\] \[xxxxxx\] \[processing\] Error finding any new events. Reason: Unable to execute statement: Statement: "select audit\_type, "SYS"."V\_$INSTANCE"."VERSION", "SYS"."V\_$INSTANCE"."HOST\_NAME", "SYS"."V\_$INSTANCE"."INSTANCE\_NAME", sessionid, proxy\_sessionid, entry\_id, statement\_id, TO\_CHAR(cast(("SYS"."UNIFIED\_AUDIT\_TRAIL"."EVENT\_TIMESTAMP" at local) as date),'yyyy-mm-dd hh24:mi:ss') "timestamp", os\_username, userhost, terminal, dbid, authentication\_type, dbusername, dbproxy\_username, external\_userid, global\_userid, client\_program\_name, action\_name, return\_code, os\_process, object\_schema, object\_name, system\_privilege, system\_privilege\_used, new\_schema, new\_name, sql\_text, sql\_binds, system\_privilege\_used, audit\_option, role, target\_user, unified\_audit\_policies, fga\_policy\_name, rman\_operation, rman\_object\_type, rman\_device\_type from "SYS"."UNIFIED\_AUDIT\_TRAIL" LEFT JOIN "SYS"."V\_$INSTANCE" ON instance\_id=INSTANCE\_NUMBER WHERE (cast(("SYS"."UNIFIED\_AUDIT\_TRAIL"."EVENT\_TIMESTAMP" at local) as date)) \> to\_date('2024-02-15 13:04:49','yyyy-mm-dd hh24:mi:ss') order by timestamp ASC"; Reason: state: 57; error-code: 904; description: \[RSA\]\[ODBC 20101 driver\]\[Oracle\]ORA-00904: "TIMESTAMP": invalid identifier

 

| ![Required Steps](https://mydev.netwitness.com/hs-fs/hubfs/Required%20Steps.png?width=201&height=35&name=Required%20Steps.png) |
| --- |

 

 The file **/etc/netwitness/ng/logcollection/content/collection/odbc/oracle\_unified\_audit\_12c.xml** needs to be modified to update timestamp to the correct format.

**1.** Make a backup of the file:

cp -i oracle\_unified\_audit\_12c.xml /root/oracle\_unified\_audit\_12c.bkp

**2.** Then, about ten lines from the bottom of the file is this line:

WHERE (cast(("SYS"."UNIFIED\_AUDIT\_TRAIL"."EVENT\_TIMESTAMP" at local) as date)) \>  to\_date('%TRACKING%','yyyy-mm-dd hh24:mi:ss') order by "timestamp" ASC

**3.** "timestamp" needs to be changed to SYS.UNIFIED\_AUDIT\_TRAIL.EVENT\_TIMESTAMP.   
**NOTE:** The timestamp ASC line may not have the quotes, an older fix was to add quotes around timestamp in this file.

vi oracle\_unified\_audit\_12c.xml

**4.** Use **/** to search or  **Shift G** to go to the end of the file, then use **x** to remove "timestamp", **i** to insert and right click to paste the correctly formatted event, it should look like the below:

WHERE (cast(("SYS"."UNIFIED\_AUDIT\_TRAIL"."EVENT\_TIMESTAMP" at local) as date)) \>  to\_date('%TRACKING%','yyyy-mm-dd hh24:mi:ss') order by SYS.UNIFIED\_AUDIT\_TRAIL.EVENT\_TIMESTAMP ASC

**5.** Use **ESC** to exit insert mode, then **:zq** or **Shift ZZ** to save and exit. Restart the nwlogcollector service, and the error in /var/log/messages will be resolved.

systemctl restart nwlogcollector && tailf /var/log/messages

 

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