Convert json to nd-json for elasticsearch

Convert JSON to nd-json for bulk indexing into Elasticsearch. movies.json [ { "title_x": "Student of the Year 2", "imdb_id": "tt7255568", "poster_path": "https://upload.wikimedia.org/wikipedia/en/thumb/3/3c/Student_of_the_year_2_Poster.jpg/220px-Student_of_the_year_2_Poster.jpg", "wiki_link": "https://en.wikipedia.org/wiki/Student_of_the_Year_2", "title_y": "Student of the Year 2", "original_title": "Student of the Year 2", "is_adult": 0, "year_of_release": "2019", "runtime": "146", "genres": "Drama|Romance|Sport", "imdb_rating": 2.5, "imdb_votes": 12671, "story": "A student must face off against bullies and overcome hurdles both academic and romantic to win his college's coveted Student of the Year trophy....

March 29, 2024 · 7 min · Ashish Tiwari
go ship logs to ELK flow

Shipping Golang logs with ELKB stack

Goal of this blog In this blog, I am going to show you how easily we can write logs to the files in Golang. As well as we are going to store all logs on elasticsearch with EKB (Elasticsearch, Kibana, Beats). Why ELKB stack ? Logs are very important for debugging, reporting, insights etc. In today’s tech world, We uses multiple cloud servers, private servers etc. Which consist of lots of different applications, scripts, programs, daemons, services and they generate their logs too....

June 6, 2020 · 6 min · Ashish Tiwari