Hello @Anurag Shelar ,
thanks for letting me know my blog is helping you a lot.
You want to run an Azure Stream Analytics Job on the edge. This is a great way to handle data locally indeed.
I recommend starting to gain experience with Azure Stream Analytics with the MS Learn learning path.
From there, play with the use case you have in mind using Visual Studio Code or Visual Studio (building a query in the Portal browser is great for demonstration but you lack version control and building up a history of queries you can roll back).
You do not have all cloud capabilities on the edge (it's just an IoT device after all) so check out the edge limitations before you are going to design the edge queries.