Evaluate your SIEM
Get the guideComplete visibility for DevSecOps
Reduce downtime and move from reactive to proactive monitoring.
November 14, 2019
In the second installment of our Amazon Redshift series, we covered the different ways you can monitor the performance and disk space of your Redshift servers using tools in AWS. In this final post, we will discuss how you can take your monitoring and logging efforts up a couple of notches by using Sumo Logic with Amazon Redshift.
Sumo Logic helps organizations gain better real-time visibility into their IT infrastructure. Monitoring for both performance and security is top of mind for security analysts, and out-of-the-box tools from cloud server providers are hardly adequate to gain the level of visibility needed to make data-driven decisions.
Sumo Logic integrates with Redshift as well as most cloud services and widely-used cloud-based applications, making it simple and easy to aggregate data across different services, giving users a full view of their operational, business, and security analytics.
Amazon Redshift is a petabyte-scale cloud-based data warehouse service from Amazon Web Services. It is fully managed and is designed for the storage, migration, and analysis of massive amounts of data sets.
A direct alternative to traditional on-premise data warehousing, Redshift provides organizations with a scalable, cost-efficient, and secure server solution that delivers fast performance and a level of querying efficiency that’s hard for the traditional solution to beat.
Read more: What is Amazon Redshift?
Amazon Redshift users would be remiss to not take advantage of the wealth of information generated by the datasets they keep and process on their Redshift clusters. This is where the integration with a cloud-native analytics platform like Sumo Logic enters the picture.
As an AWS service, users of the data warehousing service Redshift have access to a wealth of monitoring and logging tools--but because these tools are wholesale in nature, just using the built-in monitoring tools alone won’t give security analysts the capability to parse through the massive amounts of information in Redshift that would enable them to make decisions founded on data.
Filling this crucial gap is the Sumo Logic App for Amazon Redshift Unified Logs and Metrics (ULM). This app helps users monitor activity in Amazon Redshift with the level of detail and ease of data manipulation required by large-volume data. Sumo Logic’s app for Redshift is armed with preconfigured dashboards that give granular view and crucial insights into database connections, SQL command and statement execution, user events, Amazon CloudTrail events, and resource utilization both on the node and cluster level.
The first step to using the Sumo Logic for Amazon Redshift ULM app is to set up the collection of logs and metrics from Redshift.
Prior to configuring the log and metric sources for the Sumo Logic Redshift app, you need to decide the source category to be assigned to each source.
Use a descriptive name for the categories. For example, for the AWS CloudTrail source for Redshift CloudTrail Events, you could specify a source category of AWS/CloudTrail. Using a hierarchical approach to naming your source categories enables you to search better and perform wildcards when needed.
For this step, you need to enable database audit logging and user activity logging. For complete instructions on how to enable database audit logging, see the steps outlined in this document. To enable user activity logging, you must enable the enable_user_activity_logging parameter.
Failing to enable user activity logging after enabling the audit logging feature will result in incomplete logs that only have connection and user logs, and not user activity logs. On Redshift, enable_user_activity_logging is disabled by default, so make sure to double-check before moving forward. Read more about this step here.
Using the name scheme you’ve chosen on step 1, it’s now time to set up the sources for logs and metrics. You need to set up a collector for each source:
For each one, you need to set up a Hosted Collector. Make sure to fill out all fields and use the categories you’ve decided on in step 1.
After collection is configured, you can then install the Redshift app from the Sumo Logic app catalog. Follow these steps:
Once the Redshift app is installed, you may now share it with your organization. The panels of the preconfigured dashboards will now be automatically populated with data from the specified sources. Note that it may take a moment to see full graphs and visualizations.
There are seven preconfigured dashboards on the Sumo Logic Redshift App that give an incisive view of performance and security metrics of your Redshift clusters. For more in-depth information on the data points on each dashboard, each metric is described in detail in this document.
Read more: Dashboards on the Sumo Logic Redshift ULM App
Covers overviews of connections, user activity, CloudTrail events, and resource utilization.
Covers information about database connections, including authentication failure counts and trends, session statistics and details, and top remote hosts, users, databases, and applications.
Covers information about SQL command and statement execution--including top databases, users, SQL statements and commands, and tabular listings of the top 20 delete, truncate, vacuum, create, grant, drop, revoke, and alter command executions.
Covers information about database user account events, including database user database accounts that were created, dropped, or altered.
Covers information about CloudTrail events for Amazon Redshift. This includes event locations, event status, and trends; event counts by event name, cluster, account ID, region, and user agent; and failed event locations, error codes, and details.
Covers cluster-level resource utilization metrics, including CPU, network receive, and transmit throughput, database connections, and disk.
Covers node-level resource utilization metrics, including CPU; disk; network; and read/write latency, throughput and I/O operations per second.
While Amazon Redshift provides users a powerful product in its warehousing solution, there are a lot of opportunities that could be lost if the use of Redshift clusters is not paired with a competent analytics solution like Sumo Logic. From identifying and resolving issues faster to proactively monitoring the performance of queries in Redshift, the Sumo Logic Redshift ULM App is the perfect Redshift companion for mission-critical operations, business, and security analytics.
Reduce downtime and move from reactive to proactive monitoring.
Build, run, and secure modern applications and cloud infrastructures.
Start free trial