A Better CloudWatch Logs Viewer
Tags: cloud, aws, webdev, devops
Published: 2019-04-22 01:16:03

---
title: A Better CloudWatch Logs Viewer
published: true
description: A better CloudWatch Logs Viewer.
tags: cloud, aws, webdev, devops
canonical_url: https://www.sensedeep.com/blog/posts/stories/sensedeep-a-better-cloud-watchlogs-viewer.html
cover_image: https://www.sensedeep.com/images/sensedeep/viewer.png
---

AWS CloudWatch Logs is a convenient, unified logging solution so you can collect and access all your operational and performance data in one place. It is cost-effective and flexible, however, the standard AWS log viewer is **basic and slow**.

As a developer, I need to monitor and scan the tail of application log files to quickly locate errors. I need to be able to scan for anomalous log entries and see sequences of log events in context. The AWS log console, while usable, is slow and is time-consuming to peruse log data. It takes up to 2-4 seconds to load page by page of event log data.

I want an extremely fast, simple log viewer that would allow me to instantly and easily see application errors and status. SenseDeep now has the result. A fast, fun-to-use, 100% browser-based CloudWatch Log viewer.

## AWS CloudWatch Logs Viewer

The standard CloudWatch Logs viewer is simple and has some big limitations.

<img src="https://www.sensedeep.com/images/blog/cloud-watch-logs-ui.png" >


* The CWL Viewer does not automatically aggregate log streams. CWL Logs are comprised of one or more log streams that are logically represent a single log. AWS will typically create new log streams when an existing stream gets over a certain size, or services are restarted, so streams tend to multiply. The streams are presented as discrete files that you need to examine one by one. While there is an API to aggregate events (filterLogEvents), CWL does not provide a unified view of a log file.

* The Viewer does not automatically refresh the log view when new events arrive. The CWL Log viewer provides a static paged view of events. You can click on a link to pull more events, but the display will not automatically display new log events without manual intervention.

* The Viewer is slow to load log events and is slow refresh (page to page). Each click can take 2-5 seconds to refresh the next page or batch of log events. This makes scrolling through many log events very tedious and impractical as a way to scan for log errors.

* The Viewer does not understand events that contain JSON records. In the log view, you can click on an event and have expanded inline as JSON literal, but CWL does not understand the JSON structure of the event record and does not convert these into top-level fields that can be displayed as table headings.

SenseDeep addresses these CWL shortcomings and enables developers to quickly and easily gain insights into their application logs.

## SenseDeep

SenseDeep has an awesome AWS CloudWatch Logs viewer that runs exceptionally fast. 

<img src="https://www.sensedeep.com/images/blog/sensedeep-viewer.png">

SenseDeep aggregates logs from multiple AWS log streams into a single, uniform view for analysis. It has real-time live-tailing of events, smooth scrolling, rapid navigation and instant queries. SenseDeep supports infinite scrolling through log data with powerful full text searching.

<table class="ui celled comparison table">
    <thead>
        <tr>
            <th></th>
            <th>CloudWatch Logs</th>
            <th>SenseDeep</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Capture Log Data</td>
            <td>&#10003;</td>
            <td></td>
        </tr>
        <tr>
            <td>Retain Log Data</td>
            <td>&#10003;</td>
            <td></td>
        </tr>
        <tr>
            <td>Manage Retention Policies</td>
            <td>&#10003;</td>
            <td></td>
        </tr>
        <tr>
            <td>Log Viewer</td>
            <td>basic</td>
            <td>advanced</td>
        </tr>
        <tr>
            <td>Time to show next page</td>
            <td>> 1-2 seconds</td>
            <td>< 1/100th second</td>
        </tr>
        <tr>
            <td>Time to page through 1000 events</td>
            <td> >20 seconds</td>
            <td> <1/2 second</td>
        </tr>
        <tr>
            <td>Automatically Aggregate Log Streams</td>
            <td></td>
            <td>&#10003;</td>
        </tr>
        <tr>
            <td>Transparent Event Pre-Cache</td>
            <td></td>
            <td>&#10003;</td>
        </tr>
        <tr>
            <td>Live Refresh and Live Tail</td>
            <td></td>
            <td>&#10003;</td>
        </tr>
        <tr>
            <td>Infinite Smooth Scroll</td>
            <td></td>
            <td>&#10003;</td>
        </tr>
        <tr>
            <td>Understand Structured Events</td>
            <td></td>
            <td>&#10003;</td>
        </tr>
        <tr>
            <td>Filter and Query Events</td>
            <td>Separate CloudWatch Insights</td>
            <td>Integrated Javascript expressions</i></td>
        </tr>
        <tr>
            <td>Save Log Views and View Formatting</td>
            <td></td>
            <td>&#10003;</td>
        </tr>
    </tbody>
</table>



## Getting Started

There is nothing to install. Just navigate your browser to:

[https://app.sensedeep.com/](https://app.sensedeep.com/)

To learn more about SenseDeep and how to use the App, goto:

[https://www.sensedeep.com/](https://www.sensedeep.com/)