Thanks Nathaniel, I will probably try to write a translation layer to convert InfluxDB query to ES query. Will get back to you when I am done.
On Fri, Feb 10, 2017 at 10:57 PM, <[email protected]> wrote: > Hey, thanks for posting the question here. > > My initial suggestion would be to explore writing a translation layer that > would bulk query ES and then convert the data to something Kapacitor can > consume( best option here is InfluxDB line protocol). Then bulk write that > data to Kapacitor. This is obviously not ideal since it means that you > don't get the benefit of Kapacitor batch task scheduling etc. But it might > get you started for now. > > Another option is to write a translation layer the other way, meaning take > an InfluxDB query and convert it into an ES query. This way you get the > scheduling features etc of Kapacitor and basically hide the ES cluster > behind the InfluxDB query API. This likely represents more work but would > provide a better integration. > > Unfortunately a quick search didn't reveal any existing work for either of > these approaches. > > This does bring up an interesting design question. Currently Kapacitor > integrates with a handful of other technologies for accepting writes but > only integrates with InfluxDB for batch work. Seems like it might be a nice > feature to extend the batch task capabilities so that it can query other > systems as well. I'll start an internal discussion about this and see where > it goes. > > > Let me know if I can clarify more about how those translation layers would > work > > Bests, > Nathaniel Cook > > > On Thursday, February 9, 2017 at 9:58:18 PM UTC-7, [email protected] wrote: >> >> Hello, >> >> We have all our Data in our ElasticSeacrh and we want some alerting >> mechanism on top of it. We tried Kapacitor and loved it, but the limitation >> is it doesn't work with ElasticSearch. We would like to move to Influxdb, >> but currently it is not possible because that would require a lot of >> changes to our code base. So how can we use Kapacitor to do bulk queries in >> ElasticSearch and have alerting on top of it?? >> >> Thanks >> >> -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAOff4rGcd6YsH8cWnQt8n-vErrkCTQ%2BMFXOea11Vhz7P1w9QOA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
