Icinga / icingaweb2-module-elasticsearch

This module will not be updated by Icinga anymore. Please don't attempt to use it.
GNU General Public License v2.0
29 stars 9 forks source link

Request: Preselect log by evaluating host variable #37

Open matthenning opened 6 years ago

matthenning commented 6 years ago

To view the most relevant log without having to search through the dropdown field first it would be helpful to preselect a log file for individual hosts. For example I want to see my Icinga2 logs on my Icinga2 hosts and Logstash logs on my Logstash hosts when clicking on the Elasticsearch host action.

I propose the introduction of a host variable which contains the name of the log to preselect or a key word which can be assigned to an event type in the module config. It could be handled similarily to icingaweb2-module-grafana, which assigns graphs to hosts/services by evaluating the check command or service name. Though a custom variable would make more sense in this case.