These are chat archives for getredash/redash

30th
Apr 2015
Eran Sandler
@erans
Apr 30 2015 08:00
I'm working on an ElasticSearch data source to re:dash (as well as a more specialized version for LogStash
That, combined with the newly committed Python data source, one can actually run a query from 2 different sources (say, Redshit and Logstash) and combine the result into a single output.
I was wondering how many of you would find a specific logstash datasource useful?
You can use a generalized ElasticSearch query on logstash data stored in ElasticSearch, however, Logstash creates an index per day, so instead of querying all indexes and adding a "filter" query, its better to query the days that are relevant. In which case, I'll need to add some stuff to the already long JSON format of ElasticSearch queries.
Do you think its ok? Do you still want a support for simpler queries like the ones people issue in Kibana?
a-la "type:events AND eventName:MyEvent" etc?
Arik Fraimovich
@arikfr
Apr 30 2015 09:07
@erans maybe allow passing the simple query + date range?
Eran Sandler
@erans
Apr 30 2015 09:26
@arikfr I have that already, however to make real good use you need to send aggregation queries, and that's only with the extra syntax
I think I'll create 2 datasource which are using the same base class, they will have minor changes to the query that will eventually end up being sent to ElasticSearch
Arik Fraimovich
@arikfr
Apr 30 2015 09:30
no one did SQL -> ElasticSearch converter? :-)