Skip to main content

Komlog agent

Project description

Join the chat at IRC channel #komlog at Freenode

Welcome to komlogd (The Komlog agent) PyPI page.

Komlog is a PaaS for helping observability teams to better understand their systems. It is a flexible and powerful platform that adapts to users needs, not vice versa, for visualizing and processing data. It helps users in repetitive and tedious tasks, such as data cleanup, processing and exploration. It is designed with a key goal in mind: machines should be able to understand and process texts in the same way people do. Particularly, it is focused on identifying metrics on any text, either generated with an operating system command, script or any command line interface application.

Komlog Primer

Suppose we type this command to see CPU utilization:

top -b -n 2 | awk 'BEGIN {RS=""} FNR == 3 {print}'

The output should be something similar to this:

top - 20:05:01 up 1 day, 23:52,  0 users,  load average: 0.02, 0.05, 0.07
Tasks: 174 total,   1 running, 173 sleeping,   0 stopped,   0 zombie
%Cpu0  :   0.7/0.7     1[                                                     ]
%Cpu1  :   0.7/0.0     1[                                                     ]
%Cpu2  :   0.7/0.0     1[                                                     ]
%Cpu3  :   1.3/0.7     2[|                                                    ]
%Cpu4  :   1.3/0.0     1[|                                                    ]
%Cpu5  :   3.3/0.7     4[||                                                   ]
%Cpu6  :   2.0/0.7     3[|                                                    ]
%Cpu7  :   2.6/0.7     3[|                                                    ]
GiB Mem : 13.1/15.328   [                                                     ]
GiB Swap:  0.0/0.998    [                                                     ]

This information should be enough for a machine to identify CPU load, users logged in or current tasks the same way is enough for an experienced system analyst. Our goal is to solve this problem and offer a useful platform for a field as wide and heterogeneous as system analysis.

Let’s send the previous data to Komlog, redirecting it to its agent, komlogd, this way:

top -b -n 2 | awk 'BEGIN {RS=""} FNR == 3 {print}' | komlogd -u tmp.cpu

Komlog will show us the information this way:

Komlog showing top

As you can see, some values are in bold, meaning that Komlog has identified the value and has associated it to the corresponding metric. Every time we send samples to Komlog, new values will be appended to metrics already detected.

Internally, Komlog is an event based execution platform. This means you can subscribe your agents to the uris you want, and execute functions every time they are updated. With this functionality, you can create real-time applications for data analysis, anomaly detection, forecasting or anything related with time series analysis.

Komlog also offers a plugins subsystem which you can use to create your own plugins (we call it packages), or use the ones shared by others. Create a package for monitoring your favourite database, your business processes or anything in between.

Check out komlogd repository for documentation and more information about komlogd and the Komlog platform.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for komlogd, version 0.12.0
Filename, size File type Python version Upload date Hashes
Filename, size komlogd-0.12.0-py3-none-any.whl (82.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page