Start a single node elastic cluster with Docker Compose

Introduction In this gist, we will quickly try to spin Elastic stacks with Docker containers. We are going to use docker-compose. You can learn more about Docker & Docker Compose, Which will help you to understand the flow. Prerequisite Tested on the below configuration. docker:Docker version 20.10.16, build aa7e414 docker-compose:Docker version 20.10.16, build aa7e414 Cluster This cluster will include Elasticsearch Kibana APM .env file Make directory mkdir docker-elastic cd docker-elastic Create ....

June 8, 2022 · 3 min · Ashish Tiwari
Parsing Custom log format to the Elasticsearch

Parsing Custom log format to the Elasticsearch

Introduction As a developer, you need to log everything it may be info, error or debug logs, etc. There are multiple types of log formats like Common log, JSON log, etc. and there are already solutions available in an elastic stack like filebeat to read JSON logs and push them to elasticsearch. There can be cases where you need to log the data according to your convenience which will not be any standard log format....

April 29, 2022 · 6 min · Ashish Tiwari
Searcy As You Type

[Part -1] Search as you type

Introduction In this blog, we will try to understand how “Search as you type” works and Quickly setup one demo using some sample data. You must have seen various websites like eCommerce, food apps, etc. where you just start typing & simultaneously relevant options start displaying as suggestions and autocomplete. We will try to achieve somewhat the same feature. Search as you type Elasticsearch gives this specific mapping type which you can simply set to a specific field where you want to perform this kind of search....

March 18, 2022 · 7 min · Ashish Tiwari
devops conf 2022 cover pic

Parse custom logs in Elasticsearch using grok_pattern

Introduction In the talk, Quickly showed how you can use the metricbeat to check system health. With a few clicks, you can start monitoring your infra. Another demo shows, How you can parse your custom unstructured logs to Elasticsearch. There is some utility already available for predefined logs format like json, apache, nginx and system logs etc. But if you have different requirement where you need to parse a different types of log format , You can parse using Grok processor....

March 6, 2022 · 1 min · Ashish Tiwari
azure conf cover pic

Deploy Elasicsearch on Azure cloud

Introduction What this talk is all about ? The purpose of the talk is to give a short overview of Elastic solutions & Elastic stacks. In the demo shown, how you can deploy elasticsearch instance on Microsoft Azure. Also, it gives an idea to use the elastic cloud to manage the elasticsearch instance which deployed on the Azure cloud. You can also create deployment on elastic cloud (cloud.elastic.co). In the demo, Successfully shipped the metric data of the local system (my MacBook) to the newly deployed elasticsearch instance and explored the dashboard on kibana....

January 29, 2022 · 1 min · Ashish Tiwari