AWS Kinesis Firehose precise log counting
In this post we are going to learn how you can use AWS Cloudwatch insights to precisely measure no. of logs successfully processed by AWS Kinesis Firehose for a given time interval. You might think...
In this post we are going to learn how you can use AWS Cloudwatch insights to precisely measure no. of logs successfully processed by AWS Kinesis Firehose for a given time interval. You might think...
In my previous post I wrote about a Terraform module which can be used to setup a logging pipeline with AWS Kinesis Firehose and AWS Elasticsearch. Following is the architecture diagram of the setu...
Terraform is a great tool for provisioning infrastructure. One of the best practices that evolve over time as you play more with Terraform, is a directory structure that works best for your project...
I wrote a Terraform module which can be used for creating a logging pipeline with AWS Kinesis Firehose and AWS Elasticsearch.
I wrote a Terraform module which can be used for creating infra showcasing different types of AWS Elasticache Redis setups. This does not claim to be the best way to create AWS Elasticache Redis ...
I wrote a Terraform module to manage Terraform remote state infra uniformly here.
If you are reading this, then you truly have good taste and appreciate the finer things in life. Seriousness apart, dear reader, I wanted to update you that I am giving substack a shot to host my t...
Moved post to Substack
Amazfit Bip is a simple, no-nonsense smartwatch. For a user with basic needs it serves the purpose really well.
You need Nginx as a reverse proxy ACL manager for your Elasticsearch cluster if:
This blog post shows you a simple way to switch between different AWS profiles on the command line.
Edit: This post was relevant when I needed a way to whip up posts using vim on blogger. Now that I've moved to github pages - I don't need to jump these hoops.This post was uploaded on blogger from...
Edit: I have left blogger, wordpress for my tech blog and moved to github pages as communicated here. This post was written when I was trying to decide between blogger and wordpress.For those who a...
Edit: I have left blogger, wordpress for my tech blog and moved to github pages as communicated here. This post was written when I was trying to decide between blogger and wordpress. #!/usr/bin/per...
Edit: I have left blogger, wordpress for my tech blog and moved to github pages as communicated here. This post was written when I was trying to decide between blogger and wordpress.Wanted to play ...
If you are looking for an in depth explanation of the Schwartzian transform with an example, please refer to my earlier post - Schwartzian Transform Explained I was getting bored and asked a f...
Was searching the net to learn about the structure of ELF files. This was a godsend:Linux Forums - understanding ELF
If you are reading this, then you truly have good taste and appreciate the finer things in life. Seriousness apart, dear reader, I wanted to update you that I am giving substack a shot to host my t...
Moved post to Substack
Does your job require you to boot up your box in Windows instead of Ubuntu? Do you miss the vi-mode on the command line? Do you become nostalgic at the mention of multiple shell tab sessions? Do yo...
Now that I have to (not that I want to) work on Windows, I am doing what I can to make my experience on it as comfortable as it was on Ubuntu - at least for the command line part. So a few initial ...
“All happy families are alike; each unhappy family is unhappy in its own way.” - Leo Tolstoy.
I've been using mdadm to learn about software RAID configurations on Linux and I find it to be a great resource to play around with and do some hands on work. How I wish we were taught using these ...
You need Nginx as a reverse proxy ACL manager for your Elasticsearch cluster if:
In my previous post, I had described how to recover the admin password of your BSNL ZTE DSL modem, provided you have the modem configuration backed up.But if you don't have the config file backed u...
Model: BSNL Dataone ATE ZXDSL 531B modem. (Below points worth a shot for any other modem also)Assumption: You have saved your modem settings locally on your machine. If not, don't be disheartened (...
I had a BSNL modem installed at my home quite some time ago. The guy who installed it did the minimal configuration - just enough to connect to the internet. He did nothing on the front of basic se...
“All happy families are alike; each unhappy family is unhappy in its own way.” - Leo Tolstoy.
I’ve been working with the icinga2 API recently and find it to be very useful for doing command line icinga2 operations.
You need Nginx as a reverse proxy ACL manager for your Elasticsearch cluster if:
#/usr/bin/perluse strict;use warnings;my $str = $ARGV[0];my @alpha_arr = ('a' .. 'z');my %str_tok_hash = map { lc($_) => undef } grep { /[a-z]/i } split(//, $s...
If you are looking for an in depth explanation of the Schwartzian transform with an example, please refer to my earlier post - Schwartzian Transform Explained I was getting bored and asked a f...
Did you google for "explain schwartzian transform"?If yes, then you've come to the right place. If no, then you've come to the right place (I wouldn't want to loose out on a prospective reader now,...
Created a github account to share my bin with the rest of the world.Had written a perl program to simulate tail -f quite some time ago. Put it up there. Enjoyed writing it. Hope you feel the same w...
Now that I have to (not that I want to) work on Windows, I am doing what I can to make my experience on it as comfortable as it was on Ubuntu - at least for the command line part. So a few initial ...
Golang present tool is very handy for creating quick, minimal presentations. Install the package, edit a text file and start serving. Text files are easier to manage than a bloated desktop presenta...
Edit: This post was relevant when I needed a way to whip up posts using vim on blogger. Now that I've moved to github pages - I don't need to jump these hoops.This post was uploaded on blogger from...
Edit: This post was relevant when I was yet to discover the very amazing tmux.For me, screen seems like a distant memory now.tmuxinator FTW!I am getting used to the screen command for my Linux deve...
Does your job require you to boot up your box in Windows instead of Ubuntu? Do you miss the vi-mode on the command line? Do you become nostalgic at the mention of multiple shell tab sessions? Do yo...
I wrote a two-part series on an interesting concurrency issue I ran into while working with grequests and gevent.
Table of Contents
Table of Contents
Every organization’s internal monitoring setup has a variety of environments it caters to, with varying levels of alerting mechanisms (email, slack, pagerduty, etc.) and response time expectations....
Wrote a nifty little tool - slotter - to slot items into pre-defined slots.
I’ve been working with the icinga2 API recently and find it to be very useful for doing command line icinga2 operations.
Python has a solid backbone of modules for various operations. It would be a pity if we had to write one-liner python programs just because we cannot avail those functionalities on the command line...
This blog post serves as a comment area for this ipython notebook
In my previous post we talked about Python decorators and an intuitive way of remembering how decorators with arguments work. The following code snippet had triggered the whole chain of thought:Now...
This is not yet another explanation of decorators. There are a lot of people who have done a great job of explaining it. What this post is about is the way I understood it and how I wrap my head ar...
I conducted a Terraform workshop internally for my org. I realized that most of the Terraform tutorials try to emphasize more on creating different types of resources i.e. EC2, ELB, etc. while for...
Terraform is a great tool for provisioning infrastructure. One of the best practices that evolve over time as you play more with Terraform, is a directory structure that works best for your project...
The difference between an average programmer and a good one is the same as the difference between an optometrist and an ophthalmologist.
This blog post shows you a simple way to switch between different AWS profiles on the command line.