I want to monitor Oracle db audit logs, the elastic agent installed on the host, i have added the Oracle db integration v1.31.0. and enabled it to receive the audit logs ,added the path to audit log file, the data received, but not parsed i see parsing error : Provided Grok expressions do not match field value , the path is correct
what can be the issue, is there any other requirements are missing ?, why the builtin Oracle DB integration can not parse the logs
Then will need to go to Kibana - Discover and find one of the messages that do not parse and copy the ENTIRE json here (redact any private information), but change as little as possible if you change it too much, we will not be able to tell.
I'm not sure how you configure Oracle to log in this way as I do not use it, but it seems that it may have multiple audit types and formats, unfortunately it is not clear on the integration documentation which one and how you need to configure.
These are different from the .aud files which have been (like me) around since the 1990s. They are also what the integrations expects (see screenshot from @stephenb).
As some point Oracle also introduced "Unified Auditng", and these styles continue to co-exist AFAIK.
has
-->
This integration is for ingesting Audit Trail logs and fetching performance, tablespace and sysmetric metrics from Oracle Databases. The integration expects an *.aud audit file that is generated from Oracle Databases by default. If this has been disabled then please see the Oracle Database Audit Trail Documentation.
-->
That link says:
Mixed mode auditing is the default auditing in a newly installed database.
Those docs give you ways to find out what you are currently using, and also how to change that configuration to generate .aud files if that is necessary, though obviously you would be wise to carefully consider all the side effects of doing so.
In short, using the integration to monitor your Oracle DB is probably not quite as "plug and play" as you had hoped.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.