icingaweb2-module-elasticsearch icon indicating copy to clipboard operation
icingaweb2-module-elasticsearch copied to clipboard

Request: Preselect log by evaluating host variable

Open matthenning opened this issue 6 years ago • 0 comments

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.

matthenning avatar Jul 05 '18 12:07 matthenning