Aiven Blog

Jul 9, 2018

Want greater command over your service logs?

We've added a few updates to our console UI and service integrations that'll give you exceptional insight into your logs. Read to find out more.

Hannu Valtonen

|RSS Feed

Co-founder at Aiven

Update (September 2021): Aiven for Elasticsearch has been replaced by Aiven for OpenSearch, a truly open source alternative!

We've gotten a lot of great feedback on our service logs and we'd like to share some recent game-changing improvements that we've made to them, namely to our console logs and a recently enabled Aiven for Elasticsearch service integration.

Specifically, we’ve made improvements to the following:

  • Integration of all Aiven services with Elasticsearch
  • Console log UI, visibility, and accessibility

In this post, we’ll look at the improvements we made to the Aiven console logs and the OpenSearch logs service integration in greater detail. Let’s start with the biggest improvement—the OpenSearch logs service integration.

Push your service logs to Aiven services

You can now send service logs from their Aiven for Apache Kafka, PostgreSQL, Elasticsearch/OpenSearch, Cassandra, Redis, InluxDB, and Grafana services to an Aiven for OpenSearch instance by enabling the OpenSearch logs integration.

By using this integration, you will have unlimited retention for your logs and the ability to take advantage of Aiven for OpenSearch’s powerful search features to access relevant data from among them.

Even better, if you are also using Aiven for Grafana, the latest release allows you to configure alerts based upon their OpenSearch queries, giving you even greater command over your log management.

OpenSearch logs integration can be quickly created from the “Enhance my logs” button within the logs tab or the “Manage” button within the Service integrations row of each service panel. For the specific steps, check out Getting started with OpenSearch log integration.

Aiven console service logs updates

Previously, our console logging allowed you to only see the last 100 entries, which didn’t allow for a deep dive into your log history. This proved even more frustrating for users with high volume services.

For instance, performing any kind of historical search would be impossible with a service such as Kafka because the logs could change by the second.

Now, we've provided support for our web console (as well as our API and CLI) so that users can access the last two days of logs at will, making it easy to remain current with the latest service logs.

Console users

For our web console users, we’ve made improvements to the logs UI to enhance readability as well as allow users to freely scroll the last two days of their service logs.

CLI users

Now, let’s take a look at some simple commands that our CLI users can access their logs with. Aiven tooling now supports tailing and fetching the last few days of service logs.

Tailing:

$ avn service logs myservice -f

Fetching:

$ avn service logs myservice -f -S desc

Wrapping up

Whether you choose to continue using our console logs or take advantage of the log integration, you will have greater visibility into and flexibility over your service logs.

Check out the Aiven Amazon CloudWatch integration between Aiven services and the CloudWatch service from Amazon Web Services (AWS).

We’re still looking to add 3rd-party integrations with popular logging platforms, and should have a few by year-end. So, please continue giving us feedback because that’s how we prioritize our additions.

In the meantime, join our blog and changelog RSS feeds; or, follow us on Twitter or LinkedIn to stay up-to-date.


Stay updated with Aiven

Subscribe for the latest news and insights on open source, Aiven offerings, and more.

Related resources