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. Or sometimes you just need to dump the log in an unstructured way but you need to have it in a structured format if you want to analyze those. ...

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
arch linux main screen

Arch Linux Installation Challenges

January 7, 2022 · 4 min · Ashish Tiwari

Get start with BugBounty, Pentest and Security Researcher

I have always been in confusion about how to get started with security or pentest or somehow with a bug bounty. There are tons of resources available on the internet. The Fact The fact is there is no hard and fast rule or there is no standard course by following which you will get the tag of a security expert. There is no defined way to become a security researcher. ...

June 20, 2021 · 2 min · Ashish Tiwari

SPF Lookup in Go

In this gist, We will check how we can extract SPF records in Go. Prerequisite Go version $ go version go version go1.13 linux/amd64 Dependency DNS Library(https://github.com/miekg/dns) Install dependency $ go get github.com/miekg/dns spfLookup.go Here you can change nameserver according to your requirement. I have specified here google’s name server (8.8.8.8). You can also use cloudflare’s nameserver (1.1.1.1) Conclusion You can make any DNS query with miekg/dns library. In the above script, we have looked up TXT Records and then we have searched for a string containing v=spf1. ...

August 3, 2020 · 1 min · Ashish Tiwari