OpenSOC / opensoc-ui

User interface for OpenSOC
Apache License 2.0
100 stars 55 forks source link

Query Parser #2

Closed jamilbk closed 9 years ago

jamilbk commented 10 years ago

If we want to expose the query parser to kibana, the best approach is to port it to the frontend JS layer. This makes it extremely difficult to do nested or join-style queries, but it allows us to leverage the rest of kibana's tight integration with elasticsearch.

jamilbk commented 10 years ago

In the Node backend, there will be a parser lib that exposes a method which does the following:

  1. Takes a query and callback function as input
  2. Performs the query -> ES JSON translation (via the plunk ruby gem)
  3. Calls the callback with the resultant JSON-parseable string of the translation.
rammie commented 9 years ago

This issue is stale.