Delete old data in Elasticsearch

Share

ELK platform provides great solution aggregating and indexing various log, events within a organization. But you may not want to keep old data in Elasticsearch forever. Also see ELK installation and configuration To delete old data you can use “elasticsearch-curator” tool You can simply install it as $pip install elasticsearch-curator Followed by some basic configuration. […]

Realtime monitoring of apartment electricity and maintenance

Share

These days many private housing complexes are providing pre-paid system for electricity and other charges. In our society we have similar arrangement. But there is lack of transparency and sometimes service provider tend to deduct amount for no reason or they charge for generator power consumption while grid supply was available. To monitor such situation […]

Linux High availability quick setup

Share

Consider two Linux machines: Active machine heart beat IP: 192.168.1.1 Passive machine heart beat IP: 192.168.1.2 Virtual/Floating IP 192.168.2.11 Install heartbeat software on active and passive machines manish@active-mc:~$ aptitude install heartbeat manish@passive-mc:~$ aptitude install heartbeat Get node names of both machines manish@active-mc:~$ uname -n active-mc manish@passive-mc:~$ uname -n passive-mc On Active host do following Configure […]

SQLite Basic tutorial

Share

SQLite is a relational database management system contained in a C programming library. In contrast to other database management systems, SQLite is not implemented as a separate process that a client program running in another process accesses. Rather, it is part of the using program. SQLite is ACID-compliant and implements most of the SQL standard, […]

Altina GBT709 Bluetooth GPS receiver

Share

What is GPS? The Global Positioning System (GPS) is a satellite-based navigation system made up of a network of 24 satellites placed into orbit by the U.S. Department of Defense. GPS was originally intended for military applications, but in the 1980s, the government made the system available for civilian use. GPS works in any weather […]