kibana discover query to python

Viewed 9

I need to query elasticsearch kibana with python and I only have one parameter to query. In Kibana I use to discover field to write one_variable: "{one_variable}" and kibana displays the result. But now I want to do the same through python API. I understand that elastic search query should be something like

POST... { 'only_variable':only_variable }

but I have no clue how to write it properly

0 Answers
Related