Database Administration (MOSC)

MOSC Banner

Force Oracle database and RAC logs to JSON format?

edited Aug 22, 2023 10:01AM in Database Administration (MOSC) 5 commentsAnswered

Concerns: Oracle Database 19.19.0.0.0 / Oracle +ASM 19.19.0.0.0 / Oracle RAC 19.0.0.0.0

We are looking at ways to feed Oracle database, +ASM and RAC log and trace files into an ElasticSearch engine for observability purposes.

In order for the ES to ingest the files correctly, I need:

  • either to know the exact format of the logs produced by Oracle (this would help me write grok patterns for ES)
  • or to force Oracle to output its logs in JSON format (and ElasticSearch will automatically infer the schema itself)

AFAIK, Oracle logs are very structured and their format is standardised, but I have been unable to find either a formalisation of the norms used, or any way to force Oracle to output its logs to JSON format.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center