Simulating exact Kibana dev tool query in nodejs

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?

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

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