You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/amazon-aws/rds.md
+81-1Lines changed: 81 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
10
10
11
11
[Amazon Relational Database Service (Amazon RDS)](https://aws.amazon.com/rds/) is a managed database service, optimized to run in the cloud. The RDS Amazon Web Service (AWS) simplifies the setup, operation, and scaling of relational database instances for use in applications throughout your infrastructure.
12
12
13
-
The Sumo Logic Amazon RDS app dashboards provide visibility into the performance and operations of your Amazon Relational Database Service (RDS). Preconfigured dashboards allow you to monitor critical metrics of your RDS instance(s) or cluster(s) including CPU, memory, storage, network transmits and receive throughput, read and write operations, database connection count, disk queue depth, and more. CloudTrail Audit dashboards help you monitor activities performed on your RDS infrastructure. MySQL Logs dashboards helps you monitor database errors, slow queries, audit sql queries and generic activities. PostgreSQL logs dashboard help you to monitor database errors, slow queries, database security, and query execution timings. MSSQL Logs dashboards helps you monitor error logs and basic infrastructure details.
13
+
The Sumo Logic Amazon RDS app dashboards provide visibility into the performance and operations of your Amazon Relational Database Service (RDS). Preconfigured dashboards allow you to monitor critical metrics of your RDS instance(s) or cluster(s) including CPU, memory, storage, network transmits and receive throughput, read and write operations, database connection count, disk queue depth, and more. CloudTrail Audit dashboards help you monitor activities performed on your RDS infrastructure. MySQL Logs dashboards helps you monitor database errors, slow queries, audit sql queries and generic activities. PostgreSQL logs dashboard help you to monitor database errors, slow queries, database security, and query execution timings. MSSQL Logs dashboards helps you monitor error logs and basic infrastructure details. Oracle CloudTrail and CloudWatch Logs dashboards provide monitoring for error logs and essential infrastructure details.
14
14
15
15
## Log and metrics types
16
16
@@ -20,6 +20,7 @@ The Amazon RDS app uses the following logs and metrics:
| json field=responseElements "dBInstanceIdentifier" as dBInstanceIdentifier3 nodrop
285
+
| parse field=resourceName "arn:aws:rds:*:db:*" as f1, dBInstanceIdentifier2 nodrop
286
+
| if (resourceName matches "arn:aws:rds:*:db:*", dBInstanceIdentifier2, if (!isEmpty(dBInstanceIdentifier1), dBInstanceIdentifier1, dBInstanceIdentifier3) ) as dBInstanceIdentifier
287
+
| where !isEmpty(dBInstanceIdentifier)
288
+
| count as freq by engine, dBInstanceIdentifier
289
+
| sort by dBInstanceIdentifier, engine asc
290
+
| fields -freq
291
+
```
292
+
293
+
294
+
```sql title="ORA Messages Over Time (Oracle CloudWatch log based)"
| json "message" nodrop | if (_raw matches "{*", message, _raw) as message
297
+
| parse regex field=message "(?<oraerr>ORA-\d{5}): (?<oramsg>.*)" multi
298
+
| timeslice 1s
299
+
| count as eventCount by oraerr, _timeslice
300
+
| transpose row _timeslice column oraerr
301
+
```
302
+
303
+
273
304
## Collecting logs and metrics for the Amazon RDS app
274
305
275
306
Sumo Logic supports collecting metrics using two source types:
@@ -336,6 +367,12 @@ We recommend not to set `log_statement` to any value other than none (default va
336
367
- Agent
337
368
- Error
338
369
370
+
#### Oracle
371
+
- Amazon RDS [Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Concepts.Oracle.html) supports [publishing the following Oracle logs to CloudWatch](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Concepts.Oracle.html#USER_LogAccess.Oracle.PublishtoCloudWatchLogs):
372
+
- Alert logs
373
+
- Audit files
374
+
- Listener logs
375
+
339
376
Sumo Logic supports several methods for collecting logs from Amazon CloudWatch. You can choose either of them to collect logs:
340
377
341
378
- **AWS Kinesis Firehose for Logs**. Configure an [AWS Kinesis Firehose for Logs](/docs/send-data/hosted-collectors/amazon-aws/aws-kinesis-firehose-logs-source/#create-an-aws-kinesis-firehose-for-logssource) (Recommended); or
@@ -721,3 +758,46 @@ Use this dashboard to:
721
758
* Track recent terminations of SQL Server instances and monitor the creation of new databases.
The **Amazon RDS Oracle CloudTrail Logs Analysis** dashboard provides insights into audit events of your database instance.
765
+
766
+
Use this dashboard to:
767
+
* Monitor Amazon Oracle RDS-related audit logs using CloudTrail Events.
768
+
* Monitor locations of successful and failed Amazon Oracle RDS user activity events.
769
+
* Monitor most active users working on Oracle RDS infrastructure, database engines used in the infrastructure, and various events invoked on Oracle RDS instance,
The **Amazon RDS - Oracle Logs - Alert Logs Analysis** dashboard provides details on Oracle errors, including counts of various error types, ORA messages, Oracle instance states, and other data derived from the Oracle Alert log.
776
+
777
+
Use this dashboard to:
778
+
* Monitor Amazon Oracle RDS errors through CloudWatch Events.
779
+
* Monitor ORA and TNS message events.
780
+
* Monitor log switch activities, archival errors, tablespace extension issues, failures, warnings, and errors occurring on the Oracle RDS instance.
The **Amazon RDS - Oracle Logs - Audit Logs Analysis** dashboard provides details on syslog audit trail, including successful and failed activities, and top usage by client, database user, and privileges used.
787
+
788
+
Use this dashboard to:
789
+
* Monitor successful and failed Amazon Oracle RDS events.
790
+
* Monitor top usage by client, database user, and privileges on Oracle RDS instance.
The **Amazon RDS - Oracle Logs - Listener Troubleshooting** dashboard provides insights into Oracle listener process activity, including database connections by host and application, connection failures, command execution statuses and trends, and additional data from the Oracle Listener log.
798
+
799
+
Use this dashboard to:
800
+
* Monitor listener process activity on Oracle RDS instance.
801
+
* Monitor database connections by host and application, track connection failures, analyze command execution statuses and trends, and gather insights from the Oracle Listener log.
0 commit comments