Multiple field query in ELK from Python

Morning, There are a lot of pages on how to query ELK stack from Python client library, however, it’s still hard to grab a useful pattern. What I wanted is to translate some simple query in Kibana like redis.info.replication.role:master AND beat.hostname:*test AND tags:test into a useful Query DSL JSON. It’s worth mentioning that the Python …

My introduction to Linear Regression, so far

Morning, Here are some first steps that I want to share with you from my experience with regressions. I am new and I took it to step by step, so don’t expect anything new or either very complex. First thing, first, we started working on some prediction “algorithms” that should work with data available in …

Install zookeeper using puppet without module

Hi, In this post, I was given the task to provide a standalone zookeeper cluster with basic auth on the latest version. The reason that happened is that we are using a very old module on our Kafka clusters and a new requirement appeared to install the latest version of 3.5.5. The old module had …

Kafka_consumer.yaml (python style) and more

Hi, As a followup to the article i posted earlier ( https://log-it.tech/2019/03/15/get-the-info-you-need-from-consumer-group-python-style/ ) , you can use that info to put in into kafka_consumer.yaml for Datadog integration. It’s not elegant by any means, but it works. As an advise, please don’t over complicate thinks more than they need. In the last example i figured i …

Kafka consumer group info retrieval using Python

Hi, I’ve been playing with kafka-python module to grab the info i need in order to reconfigure Datadog integration. Unfortunately, there is a catch also on this method. And i will show you below. Here is a little bit of not so elegant code. As you will see, print(meta[3]) will return a very ugly binary …