Simulating exact Kibana dev tool query in nodejs


(Manish) #1

Hi,

I have queries working in Kibana dev tool. Like this one:

GET /myindex/books/_search
{
"size":2,
"from":0,
"query": {
"match_all":{}
}
}

I want to simulate exact same queries in javascript. Meaning user would just copy the query from Kibana dev tool to a text file and my nodejs program would read it and execute against elasticesearch using elasticsearch js client.

Is it feasible?


(Ed) #2

All it is, is a http request you can simulate it in any language.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.