One API for All Your Server Logs

Our goal at Scalyr is to provide sysadmins and DevOps engineers with a single log monitoring tool that replaces the hodgepodge of tools they were previously using. We’ve come a long way in doing that. Today, Scalyr is a unified, cloud-based tool that lets you aggregate multiple server logs, monitor and analyze them, set custom log alerts, and create custom dashboards. Still, we work hard to continue improving and making it an even more useful tool for you, and we listen closely to users’ feedback.

We’ve heard repeatedly from users who would like the ability to integrate another tool with Scalyr as part of their workflow, and from consultants who want to offer integration as a value to their clients. And we listened…

Introducing: Scalyr Query API

Today we are proud to announce the Scalyr Query API. It’s available immediately to all Scalyr users. (Don’t have an account yet? Get started for free.)

The new Query API allows you to retrieve log data from Scalyr, including all attributes extracted by the customizable log parser. You can use the full power of our query engine to search and filter your data to get just the logs you’re interested in. This is especially powerful if you’re using Scalyr to aggregate logs from multiple sources, because you can now run a single query on all your logs at once. You can retrieve up to 5,000 log messages at a time, or use continuation tokens to page through larger data sets.

View documentation for the Scalyr Query API.

Bonus: Command-Line Tool

As an added benefit, the Scalyr Query API enabled us to create a command-line tool to access your server log data from your terminal. Some users said they would prefer to use a terminal instead of our web interface (it’s fine, we’re not offended), and now they can. Using this tool, you can quickly and easily retrieve log data, fetch and update configuration files, and more. You can search Scalyr logs directly from your terminal, download parsed log data in CSV or JSON format, or copy configuration files to local disk. The tool is open source, so you can use it as a working example of the Scalyr API, or even suggest improvements. Get the Scalyr command-line tool and documentation from GitHub.

We’re continuing to create the tool we always wish we had as DevOps engineers, and we value our users’ feedback. If you have any comments about the new API or wish for another feature, let us know!

Leave a Reply

Your email address will not be published. Required fields are marked *