elasticsearch/kibana — pull request #2202 by rashidkpc (2014-12-09 23:52:31+00:00)
Title: Enable 'visualize' button for script fields in Discover

This solves this in several ways. it:

- Normalize visualize buttons. Gets rid of the red/yellow/green button in favor of calming dark blue button.
- Replaces them with a contextual tooltip and a warning count depending on the features of the field.
- Changes the filter buttons to use the new .filterable property.
- Allows visualization for fields that are not indexed, but are scripted.

![image](https://cloud.githubusercontent.com/assets/1250387/5368460/bb255ef6-7fc3-11e4-98e8-2f812757de2e.png)