Inside python I can use two different method to retrieve the data.
one with requests.get or can use elasticsarch module.
for requests.get I can use sql query. while in elasticsearch I have to use REST code.
which one is better if anyone has use this and have any input I will higley appreciate your view