By: Thu Nguyen

Read Time: 1 min

Ever get stuck trying to remember that one grep command to find the exact log lines you’re looking for? We’ve definitely been there and we know it can happen to the even the most talented DevOps teams.

But instead of having to remember the correct set of grep commands or filters, imagine simply clicking on an aptly named view to bring up all of the pertinent log lines. Welcome to the future of logging – complete with centralized log aggregation and cloud access.

Inside the LogDNA web app, you can create these useful and nuanced views in three simple steps:

  1. Set the hosts, apps, and/or log level filters view using the All Hosts, All Apps, and All Levels menus in the top left.
    logdnatip2step1
  2. Optionally type search terms you want to select for and even set a start and/or end time window.
    logdnatip2step2
  3. Once you’re satisfied with what you see, click the Create View & Setup Alerts button, Name the view, and hit save.
    logdnatip2step3.png

On the left side of the web interface, you can find your saved views, including the one you just created. If you log out, and log back in, you can simply click on your new view and see exactly the log data you’re looking for.
logdnatip2step4

Views are the bread and butter of dynamic logging, so make as many as you see fit. Go on, just view it!

About Thu Nguyen

Thu Nguyen is a technical writer who cares deeply about human relationships.

RELATED POSTS

Logging for DevSecOps

Logging is probably not the first item to come to mind when most of us think about DevSecOps, a term that refers to the integration...

Logging

Logging Best Practices Part 2: General Best Practices

Isn't all logging pretty much the same? Logs appear by default, like magic, without any further intervention by teams other than simply starting a system…...

Logging

What the Cloud Native Revolution Means for Log Management

This was originally posted on The New Stack. Once upon a time, log management was relatively straightforward. The volume, types, and structures of logs were...

Logging