Oracle 参数 AUDIT_SYSLOG_LEVEL 官方解释,作用,如何配置最优化建议
AUDIT_SYSLOG_LEVEL是Audit Vault和Database Firewall中用于控制syslog消息级别的参数。该参数可以控制标准audit_syslog输出消息级别,允许被记录的日志消息类型可以被定制。
可用的参数范围有:
• 0(EMERGENCY):表示紧急情况,系统操作将受到影响和崩溃,所有用户将立即受到影响;
• 1(ALERT):表示需要立即采取行动;
• 2(CRITICAL):表示重要情况,表现为严重性问题,当前操作受阻;
• 3(ERROR):表示错误,仍然允许操作继续进行,但是对系统性能或功能有限制;
• 4(WARNING):表示存在潜在风险,但仍不影响系统性能或功能;
• 5(NOTICE):表示重要情况,但不会产生严重影响;
• 6(INFORMATIONAL):表示提示信息,比如信息服务的启动和停止;
• 7(DEBUG):表示调试信息,用于调试目的;
正确设置Oracle参数AUDIT_SYSLOG_LEVEL的方法如下:
1.登录到目标数据库,使用SQL*Plus命令窗口;
2.使用 alter system set audit_syslog_level= scope=spfile’语句设置audit_syslog_level值,其中为您想设置的日志级别,可以是0-7范围内的任何值;
3.使用 shutdown immediate 语句关闭当前的数据库实例;
4.使用 startup 语句重新启动数据库实例;
5.使用 show parameter audit_syslog_level 命令检查参数是否已成功设置。
AUDIT_SYSLOG_LEVEL allows SYS and standard OS audit records to be written to the system audit log using the SYSLOG utility.
facility_clause::=
{ USER | LOCAL[0 | 1 | 2 | 3 | 4 | 5 | 6 | 7] | SYSLOG | DAEMON | KERN | MAIL | AUTH | LPR | NEWS | UUCP | CRON }
priority_clause::=
{ NOTICE | INFO | DEBUG | WARNING | ERR | CRIT | ALERT | EMERG }
Note:
This parameter is effective when using traditional auditing. Traditional auditing is deprecated in Oracle Database 21c. Oracle recommends that you instead use unified auditing, which enables selective and more effective auditing inside Oracle Database.
See Oracle Database Upgrade
Guide for more information about migrating to unified auditing.
In an Oracle database that has migrated to unified auditing, the setting of this parameter has no effect.
If you use this parameter, it is best to assign a file corresponding to every combination of facility and priority (especially KERN.EMERG) in syslog.conf . Sometimes these are assigned to print to the console in the default syslog.conf file. This can become annoying and will be useless as audit logs. Also, if you use this parameter, it is best to set the maximum length of syslog messages in the system to 512 bytes.
Note:
Audit records written to the system audit log could get truncated to 512 bytes, and different parts of the same audit record may not be joined to get the original complete audit record.
See Also:
Oracle Database Security
Guide for information about configuring syslog auditing
If AUDIT_SYSLOG_LEVEL is set and SYS auditing is enabled (AUDIT_SYS_OPERATIONS = TRUE), then SYS audit records are written to the system audit log. If AUDIT_SYSLOG_LEVEL is set and standard audit records are being sent to the operating system (AUDIT_TRAIL = os), then standard audit records are written to the system audit log.
In a CDB, the scope of the settings for this initialization parameter is the CDB. Although the audit trail is provided per PDB in a CDB, this initialization parameter cannot be configured for individual PDBs.
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 参数 AUDIT_SYSLOG_LEVEL 官方解释,作用,如何配置最优化建议
相关文章
- Oracle 参数 COMMON_USER_PREFIX 官方解释,作用,如何配置最优化建议
- Oracle 参数 DB_BIG_TABLE_CACHE_PERCENT_TARGET 官方解释,作用,如何配置最优化建议
- 配置Oracle服务端字符集实现多语言支持(oracle服务端字符集)
- Oracle 参数 JAVA_JIT_ENABLED 官方解释,作用,如何配置最优化建议
- Oracle 参数 OPTIMIZER_INMEMORY_AWARE 官方解释,作用,如何配置最优化建议
- Oracle 参数 OPTIMIZER_SECURE_VIEW_MERGING 官方解释,作用,如何配置最优化建议
- Oracle 参数 PARALLEL_INSTANCE_GROUP 官方解释,作用,如何配置最优化建议
- Oracle 参数 STANDBY_DB_PRESERVE_STATES 官方解释,作用,如何配置最优化建议
- 快速复制Oracle数据文件——轻松节省时间(oracle数据文件复制)
- Oracle数据库中查询表的简易方法(oracle数据库查询表)
- Oracle安装指南:配置安全的安装目录(oracle安装目录)
- Oracle运维报告:系统性能改善分析(oracle运维报告)
- 使用Oracle数据库接口进行数据库操作(oracle数据库接口)
- 优化Oracle数据库的隔离级别设置(oracle设置隔离级别)
- 关系洞悉Oracle中的父子关系(oracle父子)
- Oracle数据库安装与配置及性能优化(包体oracle)
- 恢复误删除的Oracle数据:技巧和方法(oracle误删除数据恢复)
- 如何配置Oracle透明网关? 25字(oracle透明网关配置)
- 深入研究Oracle监听器的配置与使用(oracle怎样配置监听)
- Oracle数据库:利用左连接实现数据结构调整(oracle数据库左连接)
- Oracle 分析表的强大功能(oracle 分析表作用)
- Oracle内连接左连接解读一探究竟(oracle内连接左连接)
- Oracle数据库中关联操作的数据查询(oracle关联数据查询)
- 海量数据Oracle如何实现几亿数据的快速关联(oracle几亿数据关联)
- Oracle服务器配置不足低于环境要求(oracle低于环境要求)
- Oracle文件传输配置实践指南(oracle传输文件配置)
- Oracle中利用WITH子句的使用(oracle中的with)
- 配置Oracle服务监听的配置方法(oracle中服务监听的)
- Oracle数据库中插入序列号的方法(oracle中插入序列号)
- Oracle Set命令调整你的参数配置(oracle set命令)