Log2Metrics – Convert logs to a real-time metric

Log2Metrics – Convert logs to a real-time metric

Monitoring tools such as Prometheus allow a developer to measure application performance with a few lines of code. However, code changes to the application are not always possible. This is frequently the case when third-party software is deployed in your IT infrastructure. All hope is not lost though. Applications, be it legacy or new, come with logs that contain valuable information about health and performance. In this article we will convert logs to a real-time metric for actionable insights.

Let us look at a log line that looks interesting to us. We need to know whenever that happens in our IT environment. For e.g. in the screen below, we want to report all errors from the ingress controller.

Selecting the log2metrics action on a log line

In the LOGIQ platform, you get an option to convert log data to a real-time metric. This is available both in the search view and the Logs view. Just click on the log line to see the actions allowed. We will select “Create metric”. This should open the “Create Metric” modal to convert logs to a real-time metric. You will first define the matching criteria for your metric. You may optionally add the metric to a dashboard, record the metric or defined an alert!

Define parameters to create a matching rule for log2metrics

The metric is now ready to be visualized whenever the event occurs. An alert can be sent if configured thresholds are met. It’s that simple. Log2Metrics augments traditional monitoring capabilities by unifying logs and time series metrics.

Visualize log2metrics in a dashboard

No need to worry about legacy and third-party applications anymore. It is easy to convert logs to a real-time metric using LOGIQ log2metrics

Related articles

Observability Best Practices

The term “observability” has gone viral in the cloud industry, at least among IT professionals.

Gathering logs from Google Autopilot

In any modern containerized workload setting, container orchestration is imperative. Purportedly, the majority of contemporary

The LOGIQ blog

Let’s keep this a friendly and inclusive space: A few ground rules: be respectful, stay on topic, and no spam, please.

1 thought on “Log2Metrics – Convert logs to a real-time metric”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More insights. More affordable.
Less hassle.