Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack Monitoring: Add Enterprise Search monitoring index templates #82743

Merged
merged 5 commits into from
Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public enum MonitoredSystem {
KIBANA("kibana"),
LOGSTASH("logstash"),
BEATS("beats"),
ENTERPRISE_SEARCH("enterprise_search"),
dakrone marked this conversation as resolved.
Show resolved Hide resolved
UNKNOWN("unknown");

private final String system;
Expand All @@ -34,6 +35,7 @@ public static MonitoredSystem fromSystem(String system) {
case "kibana" -> KIBANA;
case "logstash" -> LOGSTASH;
case "beats" -> BEATS;
case "enterprise_search" -> ENTERPRISE_SEARCH;
default ->
// Return an "unknown" monitored system
// that can easily be filtered out if
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"index_patterns": [".monitoring-beats-${xpack.stack.monitoring.template.version}-*"],
"version": ${xpack.stack.monitoring.template.release.version},
"_meta": {
"description": "Template used by Enterprise Search Metricbeat module monitoring information for Stack Monitoring",
"managed": true
},
"template": {
"mappings": {
"properties": {
Expand Down
Loading