Elasticsearch can pick the right interval

But will mostly pick 30s, the wrong interval. Need to map timeframe to
interval, and fix the LineGraph data selector to dynamically make the
right choices too