For the last few years, I am using some commands that have improved my productivity on the Linux platform. Few of you may be using these commands but still many people are doing it traditionally. I am using these commands on Ubuntu. I hope the following commands can help you to improve your productivity:

Using the above command we can run the previous instance of a command(along with the parameter), just by typing the command name. If we are executing the same command multiple times then instead of typing the complete command, we can just use {!COMMAND_NAME} …


In this blog, we are going to learn word cloud creation in Python. There are some really good libraries available in Python using which we can create different types of word clouds.

We can use these words clouds to display them on websites or can print them to use on your desk. So lets start the word cloud creation by installing the wordcloud library. We can install it using pip:

sudo pip3 install wordcloud

Once wordcloud library is installed we can use it in our Python script for creating the word cloud. We also need matplotlib library for creating the…


Preface:

I started using ELK in the year 2012 for a project, at that time it was difficult to get the documentation or to find a solution when you stuck with any issue. We were using ELK Stack for a Log Management project where we were pulling data from different sources and were applying data searches to analyze the logs.

Since then I have been using Elastic Stack for multiple projects with different use cases but couldn’t find any suitable book through which I can quickly and practically learn Kibana. …


Kibana provides us various features for data visualization and analysis and one of the features that we are going to cover in this blog is Uptime. Using Kibana Uptime, we can monitor the network endpoints using different protocols like HTTP, HTTPS, TCP, etc. I am going to explain a very basic use case to explain Uptime and that is to monitor web-based application uptime. The intent is to get the status in the dashboard if one or more web-based applications are running properly. It also provides us the historical data to understand if the application is performing well.

I am…


I have already written some blogs on Elastic Stack where I have explained different components of Elastic Stack and also some use cases where we can import data from different sources like CSV, MySQL, and MongoDB etc. I was getting different questions and chat messages from different users regarding “what is Kibana” and “how we can use Kibana”. As it is the first step if you want to start using the Elastic Stack through the web interface of Kibana. So here in this blog, I am going to explain the basics of Kibana, its use case, and how we can…


I have already discussed the automated code deployment using Jenkins in my previous blogs but here I am going to explain to you the process of creating an Angular build and deploying it on the server using ssh/SCP through a python script. Python is a language that can be used to solve many problems and this blog is just to explain how using a Python script, we can create an Angular build and deploy it to a remote server.

The script in this blog can be optimized but I have elaborated it in order to explain different aspects like creating…


As we are facing this pandemic disease COVID-19 which is spreading every hour. The world is coming together to fight this COVID — 19 pandemics where different Government sectors, NGOs, private organizations, and individuals, all are doing their bit to respond against this global outbreak. The situation in some countries is even worst and they are trying to recover from that while some countries are trying to reduce the rate at which COVID-19 can spread by taking different actions like social lock down. …


In this blog I am going to explain how sshpass can help us to increase productivity in our day to day system admin job. Although it is not a secure way to connect to the remote machine, still we can use sshpass for connecting on intranet machines to run different commands to quickly get the results like checking the uptime of a remote machine, check the disk usage of a remote machine, or check the software version of a machine, etc.

Typically we used to run the ssh command to log in to a remote machine either by key-based login…


In this blog, I am going to cover how you can measure distance using Elasticsearch. Geo distance measurement is a very important aspect of many apps. Now let us take a very simple example where when we move to any new location, Google starts showing us the nearest attractions or any cab aggregating service uses your current location to book the nearest cab for you. Geo distance based search is also a very important use case where we try to find the nearest restaurant, ATM, hospital, or practically anything.

So until now we have discussed different use cases where geo…


In this blog, we are going to cover what is Open API Specification (OAS), why we should use it, and how to create an Open API Specification (OAS) document. It is very important to understand why the API documentation is important before doing the actual development. So let us start with what is Open API Specification (OAS).

What is Open API Specification:
The Open API Specification (OAS) is a way using which we can document the API without writing the actual API code. It is an open-source format using which we can describe the APIs. …

Anurag Srivastava

Author of “Mastering Kibana6.x”, “Kibana7 Quick Start Guide”, “Learning Kibana7”, &“Elasticsearch7 Quick Start Guide” books & AWS Certified Solutions Architect.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store