mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Handled two new specific errors
This commit is contained in:
parent
08a90fee08
commit
672694bb7b
@ -46,6 +46,12 @@ app.service('errorHandler', function ( Notifier, appState, $location) {
|
||||
|
||||
let text;
|
||||
switch (message) {
|
||||
case 'kibana_index_pattern_error':
|
||||
text = `There seem to be a problem with Wazuh app visualizations in Kibana, please reinstall the Wazuh app.<br>Also you should follow our installation guide.`;
|
||||
break;
|
||||
case 'elasticsearch_down':
|
||||
text = `Could not find .kibana index on Elasticsearch or maybe Elasticsearch is down.<br>Please check it and try again.`;
|
||||
break;
|
||||
case 'no_elasticsearch':
|
||||
text = `Could not connect with elasticsearch, maybe it's down.`;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user