Kibana version:
7.3.1
Elasticsearch version:
7.3.1
Server OS version:
CentOS 7
Browser version:
Google Chrome 72.0.3626.121
Browser OS version:
Ubuntu 18.04
Original install method (e.g. download page, yum, from source, etc.):
Yum
Describe the bug:
Discover table keeps columns from different index patterns, this is wrong.
Steps to reproduce:
Having two different index patterns, let's say temperature and twitter, each one has its own fields and they are not related at all.
- Open Discover
- Select a field to add a column. The field exists in the first index pattern but it doesn't on the second index pattern.
- Change the index pattern.
- The column is still applied.
Expected behavior:
Remove selected columns on index pattern change if those columns don't exist on the selected index pattern.
Screenshots (if relevant):


Kibana version:
7.3.1
Elasticsearch version:
7.3.1
Server OS version:
CentOS 7
Browser version:
Google Chrome 72.0.3626.121
Browser OS version:
Ubuntu 18.04
Original install method (e.g. download page, yum, from source, etc.):
Yum
Describe the bug:
Discover table keeps columns from different index patterns, this is wrong.
Steps to reproduce:
Having two different index patterns, let's say temperature and twitter, each one has its own fields and they are not related at all.
Expected behavior:
Remove selected columns on index pattern change if those columns don't exist on the selected index pattern.
Screenshots (if relevant):