Bringing Elasticsearch into the fold on an existing live Zabbix platform sat on Postgres 9.6.
It appears that changing the globals in zabbix.conf.php and adding $HISTORY enables me to see just historical data from the moment I enabled Elasticsearch, however, all previous data has disappeared from show.
The globals line is. global $DB, $HISTORY;
If i revert the globals back to just $DB then I can see the previous historical and trending data up to the point when i enabled Elasticsearch but nothing new which makes sense.
The globals line here is. global $DB;
Output of my zabbix.conf.php
global $DB, $HISTORY;
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = '******';
$DB['PORT'] = '5432';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = '******';
$ZBX_SERVER = '******';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
$HISTORY['url'] = 'http://******:9200';
$HISTORY['types'] = ['str', 'text', 'log', 'uint', 'dbl'];
Am i missing something here to see both sets of data?