When creating a scripted field, if you use a field that isn't a numeral, when you go to discover Kibana just kind of barfs on itself.
Since we can get the field types from ES, i think we should use those to help the user along with making them.
Also, When you input a non valid value into the formatters, no error is thrown, or anything indicating that that value, will not work.
This probably will need to be broken down, into two actionable tasks.
Repro
- Creating a field that uses doc['cluster.state.status'].value
- Go to Discover
- That field is the only field in the sidebar, and Discover does not load
When creating a scripted field, if you use a field that isn't a numeral, when you go to discover Kibana just kind of barfs on itself.
Since we can get the field types from ES, i think we should use those to help the user along with making them.
Also, When you input a non valid value into the formatters, no error is thrown, or anything indicating that that value, will not work.
This probably will need to be broken down, into two actionable tasks.
Repro