diff --git a/.ci/packaging.groovy b/.ci/packaging.groovy index 32d2d428c7f..9b10bb2606d 100644 --- a/.ci/packaging.groovy +++ b/.ci/packaging.groovy @@ -125,11 +125,51 @@ pipeline { } def pushCIDockerImages(){ - sh(label: 'Push Docker image', script: ''' - if [ -n "$(command -v docker)" ]; then - docker images || true - fi - ''') + catchError(buildResult: 'UNSTABLE', message: 'Unable to push Docker images', stageResult: 'FAILURE') { + if ("${env.BEATS_FOLDER}" == "auditbeat"){ + tagAndPush('auditbeat-oss') + } else if ("${env.BEATS_FOLDER}" == "filebeat") { + tagAndPush('filebeat-oss') + } else if ("${env.BEATS_FOLDER}" == "heartbeat"){ + tagAndPush('heartbeat') + tagAndPush('heartbeat-oss') + } else if ("${env.BEATS_FOLDER}" == "journalbeat"){ + tagAndPush('journalbeat') + tagAndPush('journalbeat-oss') + } else if ("${env.BEATS_FOLDER}" == "metricbeat"){ + tagAndPush('metricbeat-oss') + } else if ("${env.BEATS_FOLDER}" == "packetbeat"){ + tagAndPush('packetbeat') + tagAndPush('packetbeat-oss') + } else if ("${env.BEATS_FOLDER}" == "x-pack/auditbeat"){ + tagAndPush('auditbeat') + } else if ("${env.BEATS_FOLDER}" == "x-pack/elastic-agent") { + tagAndPush('elastic-agent') + } else if ("${env.BEATS_FOLDER}" == "x-pack/filebeat"){ + tagAndPush('filebeat') + } else if ("${env.BEATS_FOLDER}" == "x-pack/metricbeat"){ + tagAndPush('metricbeat') + } + } +} + +def tagAndPush(name){ + def libbetaVer = sh(label: 'Get libbeat version', script: 'grep defaultBeatVersion ${BASE_DIR}/libbeat/version/version.go|cut -d "=" -f 2|tr -d \\"', returnStdout: true)?.trim() + if("${env.SNAPSHOT}" == "true"){ + libbetaVer += "-SNAPSHOT" + } + def oldName = "${DOCKER_REGISTRY}/beats/${name}:${libbetaVer}" + def newName = "${DOCKER_REGISTRY}/observability-ci/${name}:${libbetaVer}" + def commitName = "${DOCKER_REGISTRY}/observability-ci/${name}:${env.GIT_BASE_COMMIT}" + dockerLogin(secret: "${DOCKERELASTIC_SECRET}", registry: "${DOCKER_REGISTRY}") + retry(3){ + sh(label:'Change tag and push', script: """ + docker tag ${oldName} ${newName} + docker push ${newName} + docker tag ${oldName} ${commitName} + docker push ${commitName} + """) + } } def release(){ diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index afed61013d6..74ecf4c2232 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -357,6 +357,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Reference kubernetes manifests mount data directory from the host when running metricbeat as daemonset, so data persist between executions in the same node. {pull}17429[17429] - Add more detailed error messages, system tests and small refactoring to the service metricset in windows. {pull}17725[17725] - Stack Monitoring modules now auto-configure required metricsets when `xpack.enabled: true` is set. {issue}16471[[16471] {pull}17609[17609] +- Add Metricbeat IIS module dashboards. {pull}17966[17966] - Add dashboard for the azure database account metricset. {pull}17901[17901] - Allow partial region and zone name in googlecloud module config. {pull}17913[17913] - Add aggregation aligner as a config parameter for googlecloud stackdriver metricset. {issue}17141[[17141] {pull}17719[17719] diff --git a/Jenkinsfile b/Jenkinsfile index 45eee99bb45..d38373d4f84 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -918,7 +918,7 @@ def isChangedOSSCode(patterns) { "^libbeat/.*", "^testing/.*", "^dev-tools/.*", - "^\\.ci/.*", + "^\\.ci/scripts/.*", ] allPatterns.addAll(patterns) return isChanged(allPatterns) @@ -932,7 +932,7 @@ def isChangedXPackCode(patterns) { "^dev-tools/.*", "^testing/.*", "^x-pack/libbeat/.*", - "^\\.ci/.*", + "^\\.ci/scripts/.*", ] allPatterns.addAll(patterns) return isChanged(allPatterns) diff --git a/metricbeat/docs/images/metricbeat-iis-application-pool-overview.png b/metricbeat/docs/images/metricbeat-iis-application-pool-overview.png new file mode 100644 index 00000000000..15c43a2190a Binary files /dev/null and b/metricbeat/docs/images/metricbeat-iis-application-pool-overview.png differ diff --git a/metricbeat/docs/images/metricbeat-iis-webserver-overview.png b/metricbeat/docs/images/metricbeat-iis-webserver-overview.png new file mode 100644 index 00000000000..b872c7cf527 Binary files /dev/null and b/metricbeat/docs/images/metricbeat-iis-webserver-overview.png differ diff --git a/metricbeat/docs/images/metricbeat-iis-webserver-process.png b/metricbeat/docs/images/metricbeat-iis-webserver-process.png new file mode 100644 index 00000000000..04449505c26 Binary files /dev/null and b/metricbeat/docs/images/metricbeat-iis-webserver-process.png differ diff --git a/metricbeat/docs/images/metricbeat-iis-website-overview.png b/metricbeat/docs/images/metricbeat-iis-website-overview.png new file mode 100644 index 00000000000..ee86a9be9d8 Binary files /dev/null and b/metricbeat/docs/images/metricbeat-iis-website-overview.png differ diff --git a/metricbeat/docs/modules_list.asciidoc b/metricbeat/docs/modules_list.asciidoc index bacbcb00906..2382eb508fc 100644 --- a/metricbeat/docs/modules_list.asciidoc +++ b/metricbeat/docs/modules_list.asciidoc @@ -124,7 +124,7 @@ This file is generated! See scripts/mage/docs_collector.go |<> |<> beta[] |image:./images/icon-yes.png[Prebuilt dashboards are available] | .1+| .1+| |<> beta[] -|<> beta[] |image:./images/icon-no.png[No prebuilt dashboards] | +|<> beta[] |image:./images/icon-yes.png[Prebuilt dashboards are available] | .3+| .3+| |<> beta[] |<> beta[] |<> beta[] diff --git a/metricbeat/module/windows/perfmon/data.go b/metricbeat/module/windows/perfmon/data.go index 7db0a338de2..68de068ed05 100644 --- a/metricbeat/module/windows/perfmon/data.go +++ b/metricbeat/module/windows/perfmon/data.go @@ -38,54 +38,52 @@ var processRegexp = regexp.MustCompile(`(.+?)#[1-9]+`) func (re *Reader) groupToEvents(counters map[string][]pdh.CounterValue) []mb.Event { eventMap := make(map[string]*mb.Event) for counterPath, values := range counters { - hasCounter, counter := re.getCounter(counterPath) - for ind, val := range values { - // Some counters, such as rate counters, require two counter values in order to compute a displayable value. In this case we must call PdhCollectQueryData twice before calling PdhGetFormattedCounterValue. - // For more information, see Collecting Performance Data (https://docs.microsoft.com/en-us/windows/desktop/PerfCtrs/collecting-performance-data). - if val.Err != nil && !re.executed { - re.log.Debugw("Ignoring the first measurement because the data isn't ready", - "error", val.Err, logp.Namespace("perfmon"), "query", counterPath) - continue - } - - var eventKey string - if re.config.GroupMeasurements && val.Err == nil { - // Send measurements with the same instance label as part of the same event - eventKey = val.Instance - } else { - // Send every measurement as an individual event - // If a counter contains an error, it will always be sent as an individual event - eventKey = counterPath + strconv.Itoa(ind) - } - - // Create a new event if the key doesn't exist in the map - if _, ok := eventMap[eventKey]; !ok { - eventMap[eventKey] = &mb.Event{ - MetricSetFields: common.MapStr{}, - Error: errors.Wrapf(val.Err, "failed on query=%v", counterPath), + if hasCounter, counter := re.getCounter(counterPath); hasCounter { + for ind, val := range values { + // Some counters, such as rate counters, require two counter values in order to compute a displayable value. In this case we must call PdhCollectQueryData twice before calling PdhGetFormattedCounterValue. + // For more information, see Collecting Performance Data (https://docs.microsoft.com/en-us/windows/desktop/PerfCtrs/collecting-performance-data). + if val.Err != nil && !re.executed { + re.log.Debugw("Ignoring the first measurement because the data isn't ready", + "error", val.Err, logp.Namespace("perfmon"), "query", counterPath) + continue } - if val.Instance != "" && hasCounter { - //will ignore instance counter - if ok, match := matchesParentProcess(val.Instance); ok { - eventMap[eventKey].MetricSetFields.Put(counter.InstanceField, match) - } else { - eventMap[eventKey].MetricSetFields.Put(counter.InstanceField, val.Instance) + var eventKey string + if re.config.GroupMeasurements && val.Err == nil { + // Send measurements with the same instance label as part of the same event + eventKey = val.Instance + } else { + // Send every measurement as an individual event + // If a counter contains an error, it will always be sent as an individual event + eventKey = counterPath + strconv.Itoa(ind) + } + // Create a new event if the key doesn't exist in the map + if _, ok := eventMap[eventKey]; !ok { + eventMap[eventKey] = &mb.Event{ + MetricSetFields: common.MapStr{}, + Error: errors.Wrapf(val.Err, "failed on query=%v", counterPath), + } + if val.Instance != "" { + //will ignore instance counter + if ok, match := matchesParentProcess(val.Instance); ok { + eventMap[eventKey].MetricSetFields.Put(counter.InstanceField, match) + } else { + eventMap[eventKey].MetricSetFields.Put(counter.InstanceField, val.Instance) + } } } - } - event := eventMap[eventKey] - if val.Measurement != nil { - event.MetricSetFields.Put(counter.QueryField, val.Measurement) - } else { - event.MetricSetFields.Put(counter.QueryField, 0) - } - if counter.ObjectField != "" { - event.MetricSetFields.Put(counter.ObjectField, counter.ObjectName) + if val.Measurement != nil { + eventMap[eventKey].MetricSetFields.Put(counter.QueryField, val.Measurement) + } else { + eventMap[eventKey].MetricSetFields.Put(counter.QueryField, 0) + } + if counter.ObjectField != "" { + eventMap[eventKey].MetricSetFields.Put(counter.ObjectField, counter.ObjectName) + } } } } // Write the values into the map. - events := make([]mb.Event, 0, len(eventMap)) + var events []mb.Event for _, val := range eventMap { events = append(events, *val) } @@ -98,30 +96,34 @@ func (re *Reader) groupToSingleEvent(counters map[string][]pdh.CounterValue) mb. } measurements := make(map[string]float64, 0) for counterPath, values := range counters { - _, readerCounter := re.getCounter(counterPath) - for _, val := range values { - // Some counters, such as rate counters, require two counter values in order to compute a displayable value. In this case we must call PdhCollectQueryData twice before calling PdhGetFormattedCounterValue. - // For more information, see Collecting Performance Data (https://docs.microsoft.com/en-us/windows/desktop/PerfCtrs/collecting-performance-data). - if val.Err != nil && !re.executed { - re.log.Debugw("Ignoring the first measurement because the data isn't ready", - "error", val.Err, logp.Namespace("perfmon"), "query", counterPath) - continue - } - var counterVal float64 - switch val.Measurement.(type) { - case int64: - counterVal = float64(val.Measurement.(int64)) - case int: - counterVal = float64(val.Measurement.(int)) - default: - counterVal = val.Measurement.(float64) - } - if _, ok := measurements[readerCounter.QueryField]; !ok { - measurements[readerCounter.QueryField] = counterVal - measurements[readerCounter.QueryField+instanceCountLabel] = 1 - } else { - measurements[readerCounter.QueryField+instanceCountLabel] = measurements[readerCounter.QueryField+instanceCountLabel] + 1 - measurements[readerCounter.QueryField] = measurements[readerCounter.QueryField] + counterVal + if hasCounter, readerCounter := re.getCounter(counterPath); hasCounter { + for _, val := range values { + // Some counters, such as rate counters, require two counter values in order to compute a displayable value. In this case we must call PdhCollectQueryData twice before calling PdhGetFormattedCounterValue. + // For more information, see Collecting Performance Data (https://docs.microsoft.com/en-us/windows/desktop/PerfCtrs/collecting-performance-data). + if val.Err != nil && !re.executed { + re.log.Debugw("Ignoring the first measurement because the data isn't ready", + "error", val.Err, logp.Namespace("perfmon"), "query", counterPath) + continue + } + if val.Measurement == nil { + continue + } + var counterVal float64 + switch val.Measurement.(type) { + case int64: + counterVal = float64(val.Measurement.(int64)) + case int: + counterVal = float64(val.Measurement.(int)) + default: + counterVal = val.Measurement.(float64) + } + if _, ok := measurements[readerCounter.QueryField]; !ok { + measurements[readerCounter.QueryField] = counterVal + measurements[readerCounter.QueryField+instanceCountLabel] = 1 + } else { + measurements[readerCounter.QueryField+instanceCountLabel] = measurements[readerCounter.QueryField+instanceCountLabel] + 1 + measurements[readerCounter.QueryField] = measurements[readerCounter.QueryField] + counterVal + } } } } diff --git a/x-pack/elastic-agent/CHANGELOG.asciidoc b/x-pack/elastic-agent/CHANGELOG.asciidoc index 5ae7f447b08..13f15a9f5b0 100644 --- a/x-pack/elastic-agent/CHANGELOG.asciidoc +++ b/x-pack/elastic-agent/CHANGELOG.asciidoc @@ -45,4 +45,5 @@ - Enable Filebeat input: S3, Azureeventhub, cloudfoundry, httpjson, netflow, o365audit. {pull}17909[17909] - Configurable log level {pull}18083[18083] - Use data subfolder as default for process logs {pull}17960[17960] +- Do not require unnecessary configuration {pull}18003[18003] - Enable debug log level for Metricbeat and Filebeat when run under the Elastic Agent. {pull}17935[17935] diff --git a/x-pack/elastic-agent/_meta/common.p2.yml b/x-pack/elastic-agent/_meta/common.p2.yml index cb71e1d4887..15582908fe7 100644 --- a/x-pack/elastic-agent/_meta/common.p2.yml +++ b/x-pack/elastic-agent/_meta/common.p2.yml @@ -23,102 +23,102 @@ datasources: - metricset: filesystem dataset: system.filesystem -management: - # Mode of management, the Elastic Agent support two modes of operation: - # - # local: The Elastic Agent will expect to find the inputs configuration in the local file. - # - # Default is local. - mode: "local" +# management: +# # Mode of management, the Elastic Agent support two modes of operation: +# # +# # local: The Elastic Agent will expect to find the inputs configuration in the local file. +# # +# # Default is local. +# mode: "local" - fleet: - access_token: "" - kibana: - # kibana minimal configuration - host: "localhost:5601" - ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] +# fleet: +# access_token: "" +# kibana: +# # kibana minimal configuration +# host: "localhost:5601" +# ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] - # optional values - #protocol: "https" - #username: "elastic" - #password: "changeme" - #path: "" - #ssl.verification_mode: full - #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] - #ssl.cipher_suites: [] - #ssl.curve_types: [] +# # optional values +# #protocol: "https" +# #username: "elastic" +# #password: "changeme" +# #path: "" +# #ssl.verification_mode: full +# #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] +# #ssl.cipher_suites: [] +# #ssl.curve_types: [] - reporting: - log: - # format in which logs will be written, options are json or default. - format: "default" - fleet: - # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. - enabled: false +# reporting: +# log: +# # format in which logs will be written, options are json or default. +# format: "default" +# fleet: +# # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. +# enabled: false - # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. - reporting_threshold: 10000 +# # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. +# reporting_threshold: 10000 - # Frequency used to check the queue of events to be sent out to fleet. - reporting_check_frequency_sec: 30 +# # Frequency used to check the queue of events to be sent out to fleet. +# reporting_check_frequency_sec: 30 - # Allow fleet to reload his configuration locally on disk. - # Notes: Only specific process configuration will be reloaded. - reload: - # enabled configure the Elastic Agent to reload or not the local configuration. - # - # Default is true - enabled: true +# # Allow fleet to reload his configuration locally on disk. +# # Notes: Only specific process configuration will be reloaded. +# reload: +# # enabled configure the Elastic Agent to reload or not the local configuration. +# # +# # Default is true +# enabled: true - # period define how frequent we should look for changes in the configuration. - period: 10s +# # period define how frequent we should look for changes in the configuration. +# period: 10s -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s -retry: - # Enabled determines whether retry is possible. Default is false. - enabled: true - # RetriesCount specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retriesCount: 3 - # Delay specifies delay in ms between retries. Default is 30s - delay: 30s - # MaxDelay specifies maximum delay in ms between retries. Default is 300s - maxDelay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# retry: +# # Enabled determines whether retry is possible. Default is false. +# enabled: true +# # RetriesCount specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retriesCount: 3 +# # Delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # MaxDelay specifies maximum delay in ms between retries. Default is 300s +# maxDelay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false -settings.monitoring: - # enabled turns on monitoring of running processes - enabled: false - # enables log monitoring - logs: false - # enables metrics monitoring - metrics: false +# settings.monitoring: +# # enabled turns on monitoring of running processes +# enabled: false +# # enables log monitoring +# logs: false +# # enables metrics monitoring +# metrics: false # Sets log level. The default log level is info. # Available log levels are: error, warning, info, debug diff --git a/x-pack/elastic-agent/_meta/common.reference.p2.yml b/x-pack/elastic-agent/_meta/common.reference.p2.yml index ce03280851f..15582908fe7 100644 --- a/x-pack/elastic-agent/_meta/common.reference.p2.yml +++ b/x-pack/elastic-agent/_meta/common.reference.p2.yml @@ -23,102 +23,102 @@ datasources: - metricset: filesystem dataset: system.filesystem -management: - # Mode of management, the Elastic Agent currently only support the following mode: - # - # local: The Elastic Agent will expect to find the inputs configuration in the local file. - # - # Default is local. - mode: local +# management: +# # Mode of management, the Elastic Agent support two modes of operation: +# # +# # local: The Elastic Agent will expect to find the inputs configuration in the local file. +# # +# # Default is local. +# mode: "local" - fleet: - access_token: "" - kibana: - # kibana minimal configuration - host: "localhost:5601" - ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] +# fleet: +# access_token: "" +# kibana: +# # kibana minimal configuration +# host: "localhost:5601" +# ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] - # optional values - #protocol: "https" - #username: "elastic" - #password: "changeme" - #path: "" - #ssl.verification_mode: full - #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] - #ssl.cipher_suites: [] - #ssl.curve_types: [] +# # optional values +# #protocol: "https" +# #username: "elastic" +# #password: "changeme" +# #path: "" +# #ssl.verification_mode: full +# #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] +# #ssl.cipher_suites: [] +# #ssl.curve_types: [] - reporting: - log: - # format in which logs will be written, options are json or default. - format: "default" - fleet: - # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. - enabled: false +# reporting: +# log: +# # format in which logs will be written, options are json or default. +# format: "default" +# fleet: +# # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. +# enabled: false - # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. - reporting_threshold: 10000 +# # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. +# reporting_threshold: 10000 - # Frequency used to check the queue of events to be sent out to fleet. - reporting_check_frequency_sec: 30 +# # Frequency used to check the queue of events to be sent out to fleet. +# reporting_check_frequency_sec: 30 - # Allow fleet to reload his configuration locally on disk. - # Notes: Only specific process configuration will be reloaded. - reload: - # enabled configure the Elastic Agent to reload or not the local configuration. - # - # Default is true - enabled: true +# # Allow fleet to reload his configuration locally on disk. +# # Notes: Only specific process configuration will be reloaded. +# reload: +# # enabled configure the Elastic Agent to reload or not the local configuration. +# # +# # Default is true +# enabled: true - # period define how frequent we should look for changes in the configuration. - period: 10s +# # period define how frequent we should look for changes in the configuration. +# period: 10s -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s -retry: - # enabled determines whether retry is possible. Default is false. - enabled: true - # retries_count specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retries_count: 3 - # delay specifies delay in ms between retries. Default is 30s - delay: 30s - # max_delay specifies maximum delay in ms between retries. Default is 300s - max_delay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# retry: +# # Enabled determines whether retry is possible. Default is false. +# enabled: true +# # RetriesCount specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retriesCount: 3 +# # Delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # MaxDelay specifies maximum delay in ms between retries. Default is 300s +# maxDelay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false -settings.monitoring: - # enabled turns on monitoring of running processes - enabled: false - # enables log monitoring - logs: false - # enables metrics monitoring - metrics: false +# settings.monitoring: +# # enabled turns on monitoring of running processes +# enabled: false +# # enables log monitoring +# logs: false +# # enables metrics monitoring +# metrics: false # Sets log level. The default log level is info. # Available log levels are: error, warning, info, debug diff --git a/x-pack/elastic-agent/_meta/elastic-agent.docker.yml b/x-pack/elastic-agent/_meta/elastic-agent.docker.yml index b4af318e89c..fc7edf73413 100644 --- a/x-pack/elastic-agent/_meta/elastic-agent.docker.yml +++ b/x-pack/elastic-agent/_meta/elastic-agent.docker.yml @@ -23,76 +23,102 @@ datasources: - metricset: filesystem dataset: system.filesystem -management: - # Mode of management, the Elastic Agent support two modes of operation: - # - # local: The Elastic Agent will expect to find the inputs configuration in the local file. - # - # Default is local. - mode: "local" +# management: +# # Mode of management, the Elastic Agent support two modes of operation: +# # +# # local: The Elastic Agent will expect to find the inputs configuration in the local file. +# # +# # Default is local. +# mode: "local" - reporting: - log: - # format in which logs will be written, options are json or default. - format: "default" +# fleet: +# access_token: "" +# kibana: +# # kibana minimal configuration +# host: "localhost:5601" +# ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] - # Allow the Elastic Agent to reload his configuration locally on disk. - # Notes: Only specific process configuration will be reloaded. - reload: - # enabled configure the Elastic Agent to reload or not the local configuration. - # - # Default is true - enabled: true +# # optional values +# #protocol: "https" +# #username: "elastic" +# #password: "changeme" +# #path: "" +# #ssl.verification_mode: full +# #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] +# #ssl.cipher_suites: [] +# #ssl.curve_types: [] - # period define how frequent we should look for changes in the configuration. - period: 10s +# reporting: +# log: +# # format in which logs will be written, options are json or default. +# format: "default" +# fleet: +# # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. +# enabled: false -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present Elastic Agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. +# reporting_threshold: 10000 -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# # Frequency used to check the queue of events to be sent out to fleet. +# reporting_check_frequency_sec: 30 -retry: - # enabled determines whether retry is possible. Default is false. - enabled: true - # retries_count specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retries_count: 3 - # delay specifies delay in ms between retries. Default is 30s - delay: 30s - # max_delay specifies maximum delay in ms between retries. Default is 300s - max_delay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# # Allow fleet to reload his configuration locally on disk. +# # Notes: Only specific process configuration will be reloaded. +# reload: +# # enabled configure the Elastic Agent to reload or not the local configuration. +# # +# # Default is true +# enabled: true -settings.monitoring: - # enabled turns on monitoring of running processes - enabled: false - # enables log monitoring - logs: false - # enables metrics monitoring - metrics: false +# # period define how frequent we should look for changes in the configuration. +# period: 10s + +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" + +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s + +# retry: +# # Enabled determines whether retry is possible. Default is false. +# enabled: true +# # RetriesCount specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retriesCount: 3 +# # Delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # MaxDelay specifies maximum delay in ms between retries. Default is 300s +# maxDelay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false + +# settings.monitoring: +# # enabled turns on monitoring of running processes +# enabled: false +# # enables log monitoring +# logs: false +# # enables metrics monitoring +# metrics: false # Sets log level. The default log level is info. # Available log levels are: error, warning, info, debug diff --git a/x-pack/elastic-agent/_meta/elastic-agent.fleet.yml b/x-pack/elastic-agent/_meta/elastic-agent.fleet.yml index 8d817c8212e..b8b3eb2ac99 100644 --- a/x-pack/elastic-agent/_meta/elastic-agent.fleet.yml +++ b/x-pack/elastic-agent/_meta/elastic-agent.fleet.yml @@ -2,57 +2,62 @@ # Beats is configured under Fleet, you can define most settings # from the Kibana UI. You can update this file to configure the settings that # are not supported by Fleet. -management: - mode: "fleet" +# management: +# mode: "fleet" - # Add variance between API calls to better distribute the calls. - #jitter: 5s +# # Check in frequency configure the time between calls to fleet to retrieve the new configuration. +# # +# # Default is 30s +# #checkin_frequency: 30s - # The Elastic Agent does Exponential backoff when an error happen. - # - #backoff: - # - # Initial time to wait before retrying the call. - # init: 1s - # - # Maximum time to wait before retrying the call. - # max: 10s +# # Add variance between API calls to better distribute the calls. +# #jitter: 5s -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present Elastic Agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# # The Elastic Agent does Exponential backoff when an error happen. +# # +# #backoff: +# # +# # Initial time to wait before retrying the call. +# # init: 1s +# # +# # Maximum time to wait before retrying the call. +# # max: 10s -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present Elastic Agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" -retry: - # enabled determines whether retry is possible. Default is false. - enabled: true - # retries_count specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retries_count: 3 - # delay specifies delay in ms between retries. Default is 30s - delay: 30s - # max_delay specifies maximum delay in ms between retries. Default is 300s - max_delay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s + +# retry: +# # enabled determines whether retry is possible. Default is false. +# enabled: true +# # retries_count specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retries_count: 3 +# # delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # max_delay specifies maximum delay in ms between retries. Default is 300s +# max_delay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false diff --git a/x-pack/elastic-agent/_meta/elastic-agent.yml b/x-pack/elastic-agent/_meta/elastic-agent.yml index 3b281f3ca8a..15582908fe7 100644 --- a/x-pack/elastic-agent/_meta/elastic-agent.yml +++ b/x-pack/elastic-agent/_meta/elastic-agent.yml @@ -23,77 +23,102 @@ datasources: - metricset: filesystem dataset: system.filesystem -management: - # Mode of management, the Elastic Agent support two modes of operation: - # - # local: The Elastic Agent will expect to find the inputs configuration in the local file. - # - # Default is local. - mode: "local" +# management: +# # Mode of management, the Elastic Agent support two modes of operation: +# # +# # local: The Elastic Agent will expect to find the inputs configuration in the local file. +# # +# # Default is local. +# mode: "local" +# fleet: +# access_token: "" +# kibana: +# # kibana minimal configuration +# host: "localhost:5601" +# ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] - reporting: - log: - # format in which logs will be written, options are json or default. - format: "default" +# # optional values +# #protocol: "https" +# #username: "elastic" +# #password: "changeme" +# #path: "" +# #ssl.verification_mode: full +# #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] +# #ssl.cipher_suites: [] +# #ssl.curve_types: [] - # Allow the Elastic Agent to reload his configuration locally on disk. - # Notes: Only specific process configuration will be reloaded. - reload: - # enabled configure the Elastic Agent to reload or not the local configuration. - # - # Default is true - enabled: true +# reporting: +# log: +# # format in which logs will be written, options are json or default. +# format: "default" +# fleet: +# # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. +# enabled: false - # period define how frequent we should look for changes in the configuration. - period: 10s +# # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. +# reporting_threshold: 10000 -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present Elastic Agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# # Frequency used to check the queue of events to be sent out to fleet. +# reporting_check_frequency_sec: 30 -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# # Allow fleet to reload his configuration locally on disk. +# # Notes: Only specific process configuration will be reloaded. +# reload: +# # enabled configure the Elastic Agent to reload or not the local configuration. +# # +# # Default is true +# enabled: true -retry: - # enabled determines whether retry is possible. Default is false. - enabled: true - # retries_count specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retries_count: 3 - # delay specifies delay in ms between retries. Default is 30s - delay: 30s - # max_delay specifies maximum delay in ms between retries. Default is 300s - max_delay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# # period define how frequent we should look for changes in the configuration. +# period: 10s -settings.monitoring: - # enabled turns on monitoring of running processes - enabled: false - # enables log monitoring - logs: false - # enables metrics monitoring - metrics: false +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" + +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s + +# retry: +# # Enabled determines whether retry is possible. Default is false. +# enabled: true +# # RetriesCount specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retriesCount: 3 +# # Delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # MaxDelay specifies maximum delay in ms between retries. Default is 300s +# maxDelay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false + +# settings.monitoring: +# # enabled turns on monitoring of running processes +# enabled: false +# # enables log monitoring +# logs: false +# # enables metrics monitoring +# metrics: false # Sets log level. The default log level is info. # Available log levels are: error, warning, info, debug diff --git a/x-pack/elastic-agent/elastic-agent.docker.yml b/x-pack/elastic-agent/elastic-agent.docker.yml index b4af318e89c..fc7edf73413 100644 --- a/x-pack/elastic-agent/elastic-agent.docker.yml +++ b/x-pack/elastic-agent/elastic-agent.docker.yml @@ -23,76 +23,102 @@ datasources: - metricset: filesystem dataset: system.filesystem -management: - # Mode of management, the Elastic Agent support two modes of operation: - # - # local: The Elastic Agent will expect to find the inputs configuration in the local file. - # - # Default is local. - mode: "local" +# management: +# # Mode of management, the Elastic Agent support two modes of operation: +# # +# # local: The Elastic Agent will expect to find the inputs configuration in the local file. +# # +# # Default is local. +# mode: "local" - reporting: - log: - # format in which logs will be written, options are json or default. - format: "default" +# fleet: +# access_token: "" +# kibana: +# # kibana minimal configuration +# host: "localhost:5601" +# ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] - # Allow the Elastic Agent to reload his configuration locally on disk. - # Notes: Only specific process configuration will be reloaded. - reload: - # enabled configure the Elastic Agent to reload or not the local configuration. - # - # Default is true - enabled: true +# # optional values +# #protocol: "https" +# #username: "elastic" +# #password: "changeme" +# #path: "" +# #ssl.verification_mode: full +# #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] +# #ssl.cipher_suites: [] +# #ssl.curve_types: [] - # period define how frequent we should look for changes in the configuration. - period: 10s +# reporting: +# log: +# # format in which logs will be written, options are json or default. +# format: "default" +# fleet: +# # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. +# enabled: false -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present Elastic Agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. +# reporting_threshold: 10000 -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# # Frequency used to check the queue of events to be sent out to fleet. +# reporting_check_frequency_sec: 30 -retry: - # enabled determines whether retry is possible. Default is false. - enabled: true - # retries_count specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retries_count: 3 - # delay specifies delay in ms between retries. Default is 30s - delay: 30s - # max_delay specifies maximum delay in ms between retries. Default is 300s - max_delay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# # Allow fleet to reload his configuration locally on disk. +# # Notes: Only specific process configuration will be reloaded. +# reload: +# # enabled configure the Elastic Agent to reload or not the local configuration. +# # +# # Default is true +# enabled: true -settings.monitoring: - # enabled turns on monitoring of running processes - enabled: false - # enables log monitoring - logs: false - # enables metrics monitoring - metrics: false +# # period define how frequent we should look for changes in the configuration. +# period: 10s + +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" + +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s + +# retry: +# # Enabled determines whether retry is possible. Default is false. +# enabled: true +# # RetriesCount specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retriesCount: 3 +# # Delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # MaxDelay specifies maximum delay in ms between retries. Default is 300s +# maxDelay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false + +# settings.monitoring: +# # enabled turns on monitoring of running processes +# enabled: false +# # enables log monitoring +# logs: false +# # enables metrics monitoring +# metrics: false # Sets log level. The default log level is info. # Available log levels are: error, warning, info, debug diff --git a/x-pack/elastic-agent/elastic-agent.reference.yml b/x-pack/elastic-agent/elastic-agent.reference.yml index c2a5c2e4c4d..547053af6b2 100644 --- a/x-pack/elastic-agent/elastic-agent.reference.yml +++ b/x-pack/elastic-agent/elastic-agent.reference.yml @@ -28,102 +28,102 @@ datasources: - metricset: filesystem dataset: system.filesystem -management: - # Mode of management, the Elastic Agent currently only support the following mode: - # - # local: The Elastic Agent will expect to find the inputs configuration in the local file. - # - # Default is local. - mode: local +# management: +# # Mode of management, the Elastic Agent support two modes of operation: +# # +# # local: The Elastic Agent will expect to find the inputs configuration in the local file. +# # +# # Default is local. +# mode: "local" - fleet: - access_token: "" - kibana: - # kibana minimal configuration - host: "localhost:5601" - ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] +# fleet: +# access_token: "" +# kibana: +# # kibana minimal configuration +# host: "localhost:5601" +# ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] - # optional values - #protocol: "https" - #username: "elastic" - #password: "changeme" - #path: "" - #ssl.verification_mode: full - #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] - #ssl.cipher_suites: [] - #ssl.curve_types: [] +# # optional values +# #protocol: "https" +# #username: "elastic" +# #password: "changeme" +# #path: "" +# #ssl.verification_mode: full +# #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] +# #ssl.cipher_suites: [] +# #ssl.curve_types: [] - reporting: - log: - # format in which logs will be written, options are json or default. - format: "default" - fleet: - # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. - enabled: false +# reporting: +# log: +# # format in which logs will be written, options are json or default. +# format: "default" +# fleet: +# # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. +# enabled: false - # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. - reporting_threshold: 10000 +# # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. +# reporting_threshold: 10000 - # Frequency used to check the queue of events to be sent out to fleet. - reporting_check_frequency_sec: 30 +# # Frequency used to check the queue of events to be sent out to fleet. +# reporting_check_frequency_sec: 30 - # Allow fleet to reload his configuration locally on disk. - # Notes: Only specific process configuration will be reloaded. - reload: - # enabled configure the Elastic Agent to reload or not the local configuration. - # - # Default is true - enabled: true +# # Allow fleet to reload his configuration locally on disk. +# # Notes: Only specific process configuration will be reloaded. +# reload: +# # enabled configure the Elastic Agent to reload or not the local configuration. +# # +# # Default is true +# enabled: true - # period define how frequent we should look for changes in the configuration. - period: 10s +# # period define how frequent we should look for changes in the configuration. +# period: 10s -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s -retry: - # enabled determines whether retry is possible. Default is false. - enabled: true - # retries_count specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retries_count: 3 - # delay specifies delay in ms between retries. Default is 30s - delay: 30s - # max_delay specifies maximum delay in ms between retries. Default is 300s - max_delay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# retry: +# # Enabled determines whether retry is possible. Default is false. +# enabled: true +# # RetriesCount specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retriesCount: 3 +# # Delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # MaxDelay specifies maximum delay in ms between retries. Default is 300s +# maxDelay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false -settings.monitoring: - # enabled turns on monitoring of running processes - enabled: false - # enables log monitoring - logs: false - # enables metrics monitoring - metrics: false +# settings.monitoring: +# # enabled turns on monitoring of running processes +# enabled: false +# # enables log monitoring +# logs: false +# # enables metrics monitoring +# metrics: false # Sets log level. The default log level is info. # Available log levels are: error, warning, info, debug diff --git a/x-pack/elastic-agent/elastic-agent.yml b/x-pack/elastic-agent/elastic-agent.yml index a483f44f739..547053af6b2 100644 --- a/x-pack/elastic-agent/elastic-agent.yml +++ b/x-pack/elastic-agent/elastic-agent.yml @@ -28,102 +28,102 @@ datasources: - metricset: filesystem dataset: system.filesystem -management: - # Mode of management, the Elastic Agent support two modes of operation: - # - # local: The Elastic Agent will expect to find the inputs configuration in the local file. - # - # Default is local. - mode: "local" +# management: +# # Mode of management, the Elastic Agent support two modes of operation: +# # +# # local: The Elastic Agent will expect to find the inputs configuration in the local file. +# # +# # Default is local. +# mode: "local" - fleet: - access_token: "" - kibana: - # kibana minimal configuration - host: "localhost:5601" - ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] +# fleet: +# access_token: "" +# kibana: +# # kibana minimal configuration +# host: "localhost:5601" +# ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] - # optional values - #protocol: "https" - #username: "elastic" - #password: "changeme" - #path: "" - #ssl.verification_mode: full - #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] - #ssl.cipher_suites: [] - #ssl.curve_types: [] +# # optional values +# #protocol: "https" +# #username: "elastic" +# #password: "changeme" +# #path: "" +# #ssl.verification_mode: full +# #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2] +# #ssl.cipher_suites: [] +# #ssl.curve_types: [] - reporting: - log: - # format in which logs will be written, options are json or default. - format: "default" - fleet: - # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. - enabled: false +# reporting: +# log: +# # format in which logs will be written, options are json or default. +# format: "default" +# fleet: +# # enables fleet reporter. fleet reporting can be enabled only in fleet management.mode. +# enabled: false - # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. - reporting_threshold: 10000 +# # Reporting threshold indicates how many events should be kept in-memory before reporting them to fleet. +# reporting_threshold: 10000 - # Frequency used to check the queue of events to be sent out to fleet. - reporting_check_frequency_sec: 30 +# # Frequency used to check the queue of events to be sent out to fleet. +# reporting_check_frequency_sec: 30 - # Allow fleet to reload his configuration locally on disk. - # Notes: Only specific process configuration will be reloaded. - reload: - # enabled configure the Elastic Agent to reload or not the local configuration. - # - # Default is true - enabled: true +# # Allow fleet to reload his configuration locally on disk. +# # Notes: Only specific process configuration will be reloaded. +# reload: +# # enabled configure the Elastic Agent to reload or not the local configuration. +# # +# # Default is true +# enabled: true - # period define how frequent we should look for changes in the configuration. - period: 10s +# # period define how frequent we should look for changes in the configuration. +# period: 10s -download: - # source of the artifacts, requires elastic like structure and naming of the binaries - # e.g /windows-x86.zip - sourceURI: "https://artifacts.elastic.co/downloads/beats/" - # path to the directory containing downloaded packages - target_directory: "${path.data}/downloads" - # timeout for downloading package - timeout: 30s - # file path to a public key used for verifying downloaded artifacts - # if not file is present agent will try to load public key from elastic.co website. - pgpfile: "${path.data}/elastic.pgp" - # install_path describes the location of installed packages/programs. It is also used - # for reading program specifications. - install_path: "${path.data}/install" +# download: +# # source of the artifacts, requires elastic like structure and naming of the binaries +# # e.g /windows-x86.zip +# sourceURI: "https://artifacts.elastic.co/downloads/beats/" +# # path to the directory containing downloaded packages +# target_directory: "${path.data}/downloads" +# # timeout for downloading package +# timeout: 30s +# # file path to a public key used for verifying downloaded artifacts +# # if not file is present agent will try to load public key from elastic.co website. +# pgpfile: "${path.data}/elastic.pgp" +# # install_path describes the location of installed packages/programs. It is also used +# # for reading program specifications. +# install_path: "${path.data}/install" -process: - # minimal port number for spawned processes - min_port: 10000 - # maximum port number for spawned processes - max_port: 30000 - # timeout for creating new processes. when process is not successfully created by this timeout - # start operation is considered a failure - spawn_timeout: 30s +# process: +# # minimal port number for spawned processes +# min_port: 10000 +# # maximum port number for spawned processes +# max_port: 30000 +# # timeout for creating new processes. when process is not successfully created by this timeout +# # start operation is considered a failure +# spawn_timeout: 30s -retry: - # Enabled determines whether retry is possible. Default is false. - enabled: true - # RetriesCount specifies number of retries. Default is 3. - # Retry count of 1 means it will be retried one time after one failure. - retriesCount: 3 - # Delay specifies delay in ms between retries. Default is 30s - delay: 30s - # MaxDelay specifies maximum delay in ms between retries. Default is 300s - maxDelay: 5m - # Exponential determines whether delay is treated as exponential. - # With 30s delay and 3 retries: 30, 60, 120s - # Default is false - exponential: false +# retry: +# # Enabled determines whether retry is possible. Default is false. +# enabled: true +# # RetriesCount specifies number of retries. Default is 3. +# # Retry count of 1 means it will be retried one time after one failure. +# retriesCount: 3 +# # Delay specifies delay in ms between retries. Default is 30s +# delay: 30s +# # MaxDelay specifies maximum delay in ms between retries. Default is 300s +# maxDelay: 5m +# # Exponential determines whether delay is treated as exponential. +# # With 30s delay and 3 retries: 30, 60, 120s +# # Default is false +# exponential: false -settings.monitoring: - # enabled turns on monitoring of running processes - enabled: false - # enables log monitoring - logs: false - # enables metrics monitoring - metrics: false +# settings.monitoring: +# # enabled turns on monitoring of running processes +# enabled: false +# # enables log monitoring +# logs: false +# # enables metrics monitoring +# metrics: false # Sets log level. The default log level is info. # Available log levels are: error, warning, info, debug diff --git a/x-pack/elastic-agent/pkg/agent/application/config.go b/x-pack/elastic-agent/pkg/agent/application/config.go index edec6b4c7f8..57945ba465b 100644 --- a/x-pack/elastic-agent/pkg/agent/application/config.go +++ b/x-pack/elastic-agent/pkg/agent/application/config.go @@ -32,7 +32,13 @@ type Config struct { } func localDefaultConfig() *Config { - return &Config{} + localModeCfg, _ := config.NewConfigFrom(map[string]interface{}{ + "mode": "local", + }) + + return &Config{ + Management: localModeCfg, + } } type managementMode int diff --git a/x-pack/elastic-agent/pkg/agent/application/configuration_embed.go b/x-pack/elastic-agent/pkg/agent/application/configuration_embed.go index db61023400e..7ccc52a40a8 100644 --- a/x-pack/elastic-agent/pkg/agent/application/configuration_embed.go +++ b/x-pack/elastic-agent/pkg/agent/application/configuration_embed.go @@ -15,7 +15,7 @@ var DefaultAgentFleetConfig []byte func init() { // Packed File // _meta/elastic-agent.fleet.yml - unpacked := packer.MustUnpack("eJyMVkGTozjSvX8/o+/fLIaidtiIOViuQog29Bp3SUiXDSS5BbZkE2sDho397xsStqt6pnZjDj4Yocx8me/l419f/mF2l+ovO12dL434/0rtjpdffujd7vLLaPSXv31Bkxf9/fuf+6FXqbnBIyWD+rN3Hr/NaY9eU03LYkJQTwjmPTesZQEeGdkoScIDK5EqzFWzcnNGie7lFuwpeVIMYlORUCO46EWwUcLHnoS6Y0H2FY3ACBNdUFKc2BasK5LW3Lwq/HboUPweQ5bgQMtC2/eqMlPM6DPbAo+PYM/90FRELoR5UxLWGiW5lknRciMn+z4tNzZPbc+5iTyU5AuRgF4cC81WoNltAeQQa7l6+spJ3FEiNSe4ky+nr2gFLtwv9Ldm2bAZW7NSJ4VWmdqQ4oASVguja25yjWCqZSI1I09qg0GKYF5zeLU19PNZoUUDDlWZe8LoRt7wMIfxehbj01e0Wu4roz0J8fitWS7EcHLPUOzeizmMJwn1Hr3GR0ZCD8GiZ2WmirIeuB9qfixaO19q4n3lR4Y1IKgg7hCMOwTxKEw0IljXIgGaN3O+VbNUyE9r6l96Zuiz+z/MGLckbCXUNV8BryIL7bAksq7KjaIGGx6kGiUWWxpWJDx+xLO+9amyMV5OKiuz93wjyGlZt7zEdvYtJ3Z2vyrpx61cgYYR1tt5CYM9cdQtN2Kerevp0N1iXGipntHL62D7xGAUcHPtKdk8384nHuCR+m+K+/R2Px4l1IaS3BPjYONfJdGj7SEj11oERUtHcK7IxfLIE0e8lwke2RbU3GwUN/HF4YSRuWFtKhJaDmhx6xnbhke0ioKKhAceyGldqqe8CZ+rcmn5dKsJ47fD4Rmt0pNMikFMp37tf6wt1PdZr03er/2il3545n58EGPUMBJ7Yvy1ueEcaFmc5tm4mg5VmWoaFL04HhT1o07CuOVGd2wEtqaOw6hmEB9QAuzca+bjycaSMB6Zj73SL1ph8F7CaNx9PynUFH8VMPaqVWh1WP/YRu9xkuxeh+MID7CHIOst199zudwDJfk/rb7mXPrCSLRw3JjAdIthKnLVti4JleME3YJBkvRckUxVPg5Rgie7c5jlcsK0MNrsyCfYPs56uHORzjsAspbDN2V3iUhSLXzcydUn+kpky+GgLL9nHTt+KZHghtv34EXvtrcdBvGZlrlXkayjvuUyboSvPba1OgMDC2ZsdpekycXNbG2KWsI4WvvvdwWUA3rXziRhfOZxNM8YFlr4+ViRVAvbb/imOIz2tCxa7j85nj/u/G6+6wCM3JcjJYtp3YBUrkArRlDzJO9vPZ13zTy7kZH4MGv6fs9TIgCa+tpUJK8l1D0/Zk6Lv6/zc4y6E0Fh9dusVDsIE+1ZmU/fblg50V1FFnbXDDxIPQTDBbc4G2B4gGzuWvqh3dmPu8ztFGA1+UPAaHRc+r4cspflDcui3kF9kbZ2e74CnSSLxnrVzJ98oKXsmJtp2lMfT+KmBU7ipzKwPrF5Ri+ZjTn8F57vhcG1nDnesVL8FGt938Guj7kWQeZ4d/ci6p7lRpLrebe9x7L8dZxzfvfQynLule2jOG4UD4AWJvYqEnUPXz7mLYOzL9MtMJTosyxTp7lbD3/8QXuqHVlZWK3f+oY7StKz0xnEHitT22PLOYvFqyAe73vf5bV+GuQtNVe9bsArI6yW5OrNNTHLMe384D3uM0qKUZK3Od8cq2Vl/oP60YIfNx+4hqcPXOiZ5WZZjPb5H3K9ZHdv2Do8W7DngdN2z5rlFcGFpiS03zAPbdO7zxhtudVz9x2hL3bns6PzbPeMmbjlzgucnh81lH7eSxJ635rlfYcdrJfstmASEO8rwlrnL24/HFRFnhQvM+ufnvSx5v8bz+B2FyysH4Q2R5Zk79yOo09zWe5WZLHg20ctLW/ARYygYWURMGL5eO951qHXQjMTL3iycdzMpuUt74cc308qJ96c+xU/CRh1dkdWJD7b+uw3i9WwzS/9Wlu/tR5wz2/31Tu34wnBn2Pcvxewr71q5XA+ekZJeEAv2WNOYrK8XZ7RCx3Wq+U12z/841Pu2TP28zfS8+NM/fbbl3//338CAAD//7QM6Mk=") + unpacked := packer.MustUnpack("eJycVlGPo7oVfu/P2PfeggmrS6U+xJnBmDthGnKDsV8qbGeBxE5QEyCm6n+vDAnJblfVVR9GGgX7nPN95zvf8b++/EPvr8Vf9qq4XGvx56Lcn66/fFP7/fUXo9WXv37BgxP8/fc/9offpeI6M5T05R+9M/9tzgf8HiuapwNGasAo6bhmDfMyw8imlMQ/shyXqb4plm8uOFKd3MIDJYuSoUwXxFcYuZ3wNqUAmSORapm3/g0bqIUOrjhKz2wLPwoSV1y/l9nu2OLwGUPm8EjzVNlzRb4umVYXtoUON/DAga8LIl2hd6VElcJRomSUNlzLwZ6n+cbmqex3rgMHR4krItiJU6rYCtb7LUQcZUquFvbclRK/YiC7MuI7n+X5gFfLkpPgyH4/l1izCyOZg8vzb9gsS7xalxtQKQouZWGxnmIl8kxxnfjfcbSFToFsferKtrBmeeoxkrUYJRVHN1tnh9E9tv0/ipWM4oblTN25aVkuSgqClml1knlcSaQ6Xi8edcz1pCjTNM8ucgUbYZbDOnp8Sw4Fyg4FUG0OmGF56DLiH/a/n8v1AIfVHSs2EDK0KaUOTUHCloJdSXXmSJApXkO4ez+WFIQXHq1LiX6dvqHMYJQ2wktNQWJXonsv7vg+HrFB08goVeJwLpN8/duqXpd4tTzgcMQYchQOEqkDfg9Pln+M0o7l6zLNq54DX/FT2lj9Uh0eChBoVkOvQJbHsMUoM0IHBqOqEhFU/81NUlOS/JMDph99xf2MOeZaOQUJL9hqh+xGbBKEjVzBmhHWWf0InTnipBquxQu+vp1xINUW+eYrfguHx2/zt3e32iN1lcR56MDq16NEORjFiunA6sSwPDV7olpmJs2MXK9mLCUn4eKzXt5sX21shgKP61tHyebrnCtKOpnHB7aFHavvcfLYKQirqJcOHys49r/IYyUMVDPv6NYUYFfaPkqSODKPleWWrWBLiTvi5oDesccNHzWSDU/8u5aZZSeBam1dwriLzzfa7rXqpzNw4F5mKMiy3fH4Fa/is4zSXgzn7gOERiKlKUkcYfy5pg+ddB8g7STwLxyER2GCmpHQEebX+okXVhKVU8/G2tJG6OwgUWD229EjHEpUWxD/ZDX1iGW9SyCrpfDE8rtOorQSWioZBkfLD/XSTpxsrfi498Y8LUOhQ3One3KfDvg5P05BXMW9zMGIdaKGR+7JlqOgYmjsa291SIlUd07m85/167zOPtfTPD1PHvFeiiir+dirq9pvoStAdrznASyPG3bX50tt1ucqcUobpsODfIlfEDp5ImINR7vSequIYiVA1srVT+Yxkg1HfSmj2J/qGXX3Y02Tp6PsQvPEKci6pcDOUlYLoBy2vWs5gicx5f05t+RWCS9tqPF75i3r1xkTXmp95ZtAoVOs4JHlyUFoVVuvmPp/6ygInYIELUaBfrljuZj5FybohQ5OQodXYRblNt+MHFByG7iZuH3mHTk2jITHUUcRNBxIQ4lTCg8qCpQuSDL58ml99wTY8FPiUHK75BO+n2ItiD9IZOccjzMtorijIBvEcH6Ze6tft+Ir2HMvdjDyXU5iJWqouYdtDZUE/ohP6ODA8mSYNY3chqtgvDd6x9uyXy9nvV5pXjU8z6543Iubkp+yK9XW00fMg0Chx3V2nDAnSniJEv1jN4aL3BvvfcVv697Gfs6l9dKsk/mmZKM3J5Y/Z5pDX0nzXa0tjuSZkcUTv7E7DLbcvhu87DD+BpjL0c1/xLIzTE9H23d7dp6lFy90rPdhFPRs3ptjXOsLQ0FSJSw29F4yHTY8ygzbTNjunH4b/ZoErnx72ZXTjvY/n3OvuA5rjmysVNmdaHs2ahJUyupy1I/19+2Yv+deMhQkvrDt4oe9DbXV4DwrKGupPUc2X3FkvXk362LcSVop4QYH7o1zOwi75wlrbO5nLwP9fFesW/yeKqZDl0eT5tfmuWN2456zez5wudUDoOV6C6+MhK3tiVxBryC3i91bc0xiz/nqsT8pYY59E46/IVYV5GbfaI+5GHmwuyMHSSftW6tevuyR1Pq/j6OkZyRpmMVn4NF6guWO1/AqzMs76n/hsv2ack73H++dOZdb7cPgEft77ki4KIjr8u3/m3vZfzcnYML1WS9dvpl1E+4j2HGdtRIpO99HlltN2n2bDeNM5OnZcslGTz2OsWU0vscnbzdQfR/j2csMKKdYjXtlvk+Jf8RvL9oZLCfLC36j/cdqeVsfXvj5ARPT4UWA3UOXC4GC1u4G+3b6rO+63Zz/9uXff/pPAAAA//+74FmX") raw, ok := unpacked["_meta/elastic-agent.fleet.yml"] if !ok { // ensure we have something loaded. diff --git a/x-pack/elastic-agent/pkg/agent/application/managed_mode.go b/x-pack/elastic-agent/pkg/agent/application/managed_mode.go index 08ff4c7a479..c440c6e1243 100644 --- a/x-pack/elastic-agent/pkg/agent/application/managed_mode.go +++ b/x-pack/elastic-agent/pkg/agent/application/managed_mode.go @@ -24,10 +24,6 @@ import ( logreporter "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/reporter/log" ) -type managementCfg struct { - Management *config.Config `config:"management"` -} - type apiClient interface { Send( method string, @@ -92,7 +88,7 @@ func newManaged( } // Extract only management related configuration. - managementCfg := &managementCfg{} + managementCfg := &Config{} if err := rawConfig.Unpack(managementCfg); err != nil { return nil, errors.New(err, fmt.Sprintf("fail to unpack configuration from %s", path), diff --git a/x-pack/elastic-agent/pkg/agent/application/stream.go b/x-pack/elastic-agent/pkg/agent/application/stream.go index 1e8a1f10048..5d8880a9e07 100644 --- a/x-pack/elastic-agent/pkg/agent/application/stream.go +++ b/x-pack/elastic-agent/pkg/agent/application/stream.go @@ -72,7 +72,7 @@ func streamFactory(ctx context.Context, cfg *config.Config, client sender, r rep } func newOperator(ctx context.Context, log *logger.Logger, id routingKey, config *config.Config, r reporter, m monitoring.Monitor) (*operation.Operator, error) { - operatorConfig := &operatorCfg.Config{} + operatorConfig := operatorCfg.DefaultConfig() if err := config.Unpack(&operatorConfig); err != nil { return nil, err } diff --git a/x-pack/elastic-agent/pkg/agent/operation/config/config.go b/x-pack/elastic-agent/pkg/agent/operation/config/config.go index 7f636008073..d96f4c5125e 100644 --- a/x-pack/elastic-agent/pkg/agent/operation/config/config.go +++ b/x-pack/elastic-agent/pkg/agent/operation/config/config.go @@ -19,3 +19,13 @@ type Config struct { DownloadConfig *artifact.Config `yaml:"download" config:"download"` LoggingConfig *logger.Config `yaml:"logging,omitempty" config:"logging,omitempty"` } + +// DefaultConfig creates a config with pre-set default values. +func DefaultConfig() *Config { + return &Config{ + ProcessConfig: process.DefaultConfig(), + RetryConfig: retry.DefaultConfig(), + DownloadConfig: artifact.DefaultConfig(), + LoggingConfig: logger.DefaultLoggingConfig(), + } +} diff --git a/x-pack/elastic-agent/pkg/agent/operation/operator.go b/x-pack/elastic-agent/pkg/agent/operation/operator.go index 5b6ee516dbc..89734e38fe7 100644 --- a/x-pack/elastic-agent/pkg/agent/operation/operator.go +++ b/x-pack/elastic-agent/pkg/agent/operation/operator.go @@ -10,7 +10,6 @@ import ( "os" "strings" "sync" - "time" "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/configrequest" "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/errors" @@ -23,7 +22,6 @@ import ( "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/logger" "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/plugin/app" "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/plugin/app/monitoring" - "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/plugin/retry" "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/plugin/state" rconfig "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/remoteconfig/grpc" ) @@ -65,7 +63,7 @@ func NewOperator( eventProcessor callbackHooks, monitor monitoring.Monitor) (*Operator, error) { - operatorConfig := defaultOperatorConfig() + operatorConfig := operatorCfg.DefaultConfig() if err := config.Unpack(&operatorConfig); err != nil { return nil, err } @@ -99,19 +97,6 @@ func NewOperator( return operator, nil } -func defaultOperatorConfig() *operatorCfg.Config { - return &operatorCfg.Config{ - LoggingConfig: logger.DefaultLoggingConfig(), - RetryConfig: &retry.Config{ - Enabled: false, - RetriesCount: 0, - Delay: 30 * time.Second, - MaxDelay: 5 * time.Minute, - Exponential: false, - }, - } -} - // State describes the current state of the system. // Reports all known beats and theirs states. Whether they are running // or not, and if they are information about process is also present. diff --git a/x-pack/elastic-agent/pkg/artifact/config.go b/x-pack/elastic-agent/pkg/artifact/config.go index 406677cb8aa..aefe35c26e1 100644 --- a/x-pack/elastic-agent/pkg/artifact/config.go +++ b/x-pack/elastic-agent/pkg/artifact/config.go @@ -5,9 +5,12 @@ package artifact import ( + "path/filepath" "runtime" "strings" "time" + + "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/application/paths" ) // Config is a configuration used for verifier and downloader @@ -42,6 +45,18 @@ type Config struct { DropPath string `yaml:"dropPath" config:"drop_path"` } +// DefaultConfig creates a config with pre-set default values. +func DefaultConfig() *Config { + dataPath := paths.Data() + return &Config{ + BeatsSourceURI: "https://artifacts.elastic.co/downloads/beats/", + TargetDirectory: filepath.Join(dataPath, "downloads"), + Timeout: 30 * time.Second, + PgpFile: filepath.Join(dataPath, "elastic.pgp"), + InstallPath: filepath.Join(dataPath, "install"), + } +} + // OS return configured operating system or falls back to runtime.GOOS func (c *Config) OS() string { if c.OperatingSystem != "" { diff --git a/x-pack/elastic-agent/pkg/core/plugin/app/monitoring/monitor.go b/x-pack/elastic-agent/pkg/core/plugin/app/monitoring/monitor.go index 67fd1a96aee..07750ff5191 100644 --- a/x-pack/elastic-agent/pkg/core/plugin/app/monitoring/monitor.go +++ b/x-pack/elastic-agent/pkg/core/plugin/app/monitoring/monitor.go @@ -32,7 +32,10 @@ type wrappedConfig struct { // NewMonitor creates a monitor based on a process configuration. func NewMonitor(config *config.Config) (Monitor, error) { - cfg := &wrappedConfig{} + cfg := &wrappedConfig{ + DownloadConfig: artifact.DefaultConfig(), + } + if err := config.Unpack(&cfg); err != nil { return nil, err } diff --git a/x-pack/elastic-agent/pkg/core/plugin/app/start.go b/x-pack/elastic-agent/pkg/core/plugin/app/start.go index 7be59cb04e3..e13e137699e 100644 --- a/x-pack/elastic-agent/pkg/core/plugin/app/start.go +++ b/x-pack/elastic-agent/pkg/core/plugin/app/start.go @@ -233,7 +233,7 @@ func (a *Application) checkGrpcHTTP(ctx context.Context, address string, ca *aut } func injectDataPath(args []string, pipelineID, id string) []string { - dataPath := filepath.Join(paths.Data(), pipelineID, id) + dataPath := filepath.Join(paths.Data(), "run", pipelineID, id) return append(args, "-E", "path.data="+dataPath) } diff --git a/x-pack/elastic-agent/pkg/core/plugin/process/config.go b/x-pack/elastic-agent/pkg/core/plugin/process/config.go index 0791692aeb4..e8a236b5de4 100644 --- a/x-pack/elastic-agent/pkg/core/plugin/process/config.go +++ b/x-pack/elastic-agent/pkg/core/plugin/process/config.go @@ -19,3 +19,12 @@ type Config struct { // TODO: cgroups and namespaces } + +// DefaultConfig creates a config with pre-set default values. +func DefaultConfig() *Config { + return &Config{ + MinPortNumber: 10000, + MaxPortNumber: 30000, + SpawnTimeout: 30 * time.Second, + } +} diff --git a/x-pack/elastic-agent/pkg/core/plugin/retry/config.go b/x-pack/elastic-agent/pkg/core/plugin/retry/config.go index a9487792a17..11cd1e7b418 100644 --- a/x-pack/elastic-agent/pkg/core/plugin/retry/config.go +++ b/x-pack/elastic-agent/pkg/core/plugin/retry/config.go @@ -21,10 +21,21 @@ type Config struct { RetriesCount int `yaml:"retriesCount" config:"retriesCount"` // Delay specifies delay in ms between retries. Default is 30s Delay time.Duration `yaml:"delay" config:"delay"` - // MaxDelay specifies maximum delay in ms between retries. Default is 300s + // MaxDelay specifies maximum delay in ms between retries. Default is 300s (5min) MaxDelay time.Duration `yaml:"maxDelay" config:"maxDelay"` // Exponential determines whether delay is treated as exponential. // With 30s delay and 3 retries: 30, 60, 120s // Default is false Exponential bool `yaml:"exponential" config:"exponential"` } + +// DefaultConfig creates a config with pre-set default values. +func DefaultConfig() *Config { + return &Config{ + Enabled: false, + RetriesCount: 3, + Delay: 30 * time.Second, + MaxDelay: 5 * time.Minute, + Exponential: false, + } +} diff --git a/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-application-pool-overview.json b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-application-pool-overview.json new file mode 100644 index 00000000000..866b4593489 --- /dev/null +++ b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-application-pool-overview.json @@ -0,0 +1,1026 @@ +{ + "objects": [ + { + "attributes": { + "description": "This dashboard shows application pools metrics for the IIS server.", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 5, + "i": "43790631-73f5-4f5e-824e-aa9d3f4f5664", + "w": 9, + "x": 0, + "y": 0 + }, + "panelIndex": "43790631-73f5-4f5e-824e-aa9d3f4f5664", + "panelRefName": "panel_0", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Thread Count" + }, + "gridData": { + "h": 11, + "i": "b94f6dac-0f16-4781-ac08-d632154458a6", + "w": 20, + "x": 9, + "y": 0 + }, + "panelIndex": "b94f6dac-0f16-4781-ac08-d632154458a6", + "panelRefName": "panel_1", + "title": "Thread Count", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Handle Count" + }, + "gridData": { + "h": 11, + "i": "a3c19f11-99d4-4794-8ebb-aa2b3583577b", + "w": 19, + "x": 29, + "y": 0 + }, + "panelIndex": "a3c19f11-99d4-4794-8ebb-aa2b3583577b", + "panelRefName": "panel_2", + "title": "Handle Count", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Filters" + }, + "gridData": { + "h": 6, + "i": "10fe7306-655b-4bc6-b078-892f91d0d9ea", + "w": 9, + "x": 0, + "y": 5 + }, + "panelIndex": "10fe7306-655b-4bc6-b078-892f91d0d9ea", + "panelRefName": "panel_3", + "title": "Filters", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "IO Write Operations" + }, + "gridData": { + "h": 15, + "i": "4dfc6a98-4749-47a8-a92e-ee955cf20c00", + "w": 24, + "x": 0, + "y": 11 + }, + "panelIndex": "4dfc6a98-4749-47a8-a92e-ee955cf20c00", + "panelRefName": "panel_4", + "title": "IO Write Operations", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "IO Read Operations" + }, + "gridData": { + "h": 15, + "i": "bae63734-a752-46c3-8083-8c12eabca5aa", + "w": 24, + "x": 24, + "y": 11 + }, + "panelIndex": "bae63734-a752-46c3-8083-8c12eabca5aa", + "panelRefName": "panel_5", + "title": "IO Read Operations", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Working Set" + }, + "gridData": { + "h": 15, + "i": "ce663f89-7cf9-4659-af06-2128f7d2f74b", + "w": 24, + "x": 0, + "y": 26 + }, + "panelIndex": "ce663f89-7cf9-4659-af06-2128f7d2f74b", + "panelRefName": "panel_6", + "title": "Working Set", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Virtual Bytes" + }, + "gridData": { + "h": 15, + "i": "99da2951-fb14-4a18-8a0c-4647daa9b626", + "w": 24, + "x": 24, + "y": 41 + }, + "panelIndex": "99da2951-fb14-4a18-8a0c-4647daa9b626", + "panelRefName": "panel_7", + "title": "Virtual Bytes", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Private Bytes" + }, + "gridData": { + "h": 15, + "i": "71985962-b5c9-412e-a99f-b55ed988f4ea", + "w": 24, + "x": 0, + "y": 41 + }, + "panelIndex": "71985962-b5c9-412e-a99f-b55ed988f4ea", + "panelRefName": "panel_8", + "title": "Private Bytes", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "CPU Usage" + }, + "gridData": { + "h": 15, + "i": "347b6893-0ab0-47fc-9e80-efc9bf47f13e", + "w": 24, + "x": 24, + "y": 26 + }, + "panelIndex": "347b6893-0ab0-47fc-9e80-efc9bf47f13e", + "panelRefName": "panel_9", + "title": "CPU Usage", + "version": "7.6.0" + } + ], + "timeRestore": false, + "title": "[Metricbeat IIS] Application Pool Overview", + "version": 1 + }, + "id": "b4108810-861c-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "dashboard": "7.3.0" + }, + "references": [ + { + "id": "dc97bec0-861c-11ea-91bc-ab084c7ec0e7", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "41324ad0-861d-11ea-91bc-ab084c7ec0e7", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "98b90fa0-861d-11ea-91bc-ab084c7ec0e7", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "dd419de0-861d-11ea-91bc-ab084c7ec0e7", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "442a86c0-861e-11ea-91bc-ab084c7ec0e7", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "29a23aa0-861e-11ea-91bc-ab084c7ec0e7", + "name": "panel_5", + "type": "visualization" + }, + { + "id": "34bfec50-8620-11ea-91bc-ab084c7ec0e7", + "name": "panel_6", + "type": "visualization" + }, + { + "id": "14300bf0-8620-11ea-91bc-ab084c7ec0e7", + "name": "panel_7", + "type": "visualization" + }, + { + "id": "f7194cc0-861f-11ea-91bc-ab084c7ec0e7", + "name": "panel_8", + "type": "visualization" + }, + { + "id": "90fe3b30-861f-11ea-91bc-ab084c7ec0e7", + "name": "panel_9", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2020-04-24T12:19:57.800Z", + "version": "Wzk3MzMsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Navigation Application Pool Overview [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "fontSize": 10, + "markdown": "### IIS\n\n[Webserver](#/dashboard/ebc23240-8572-11ea-91bc-ab084c7ec0e7)| [Webserver processes](#/dashboard/2c171500-858b-11ea-91bc-ab084c7ec0e7) | [Websites](#/dashboard/4b975820-85a1-11ea-91bc-ab084c7ec0e7) | [**Application Pools**](#/dashboard/b4108810-861c-11ea-91bc-ab084c7ec0e7) ", + "openLinksInNewTab": false + }, + "title": "Navigation Application Pool Overview [Metricbeat IIS]", + "type": "markdown" + } + }, + "id": "dc97bec0-861c-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:54:38.997Z", + "version": "WzkzMTksMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool Thread Count [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(22,165,165,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Thread Count", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.application_pool.process.thread_count", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "terms_order_by": "_count", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "top_n" + }, + "title": "Application Pool Thread Count [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "41324ad0-861d-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:17:59.421Z", + "version": "WzkwMDMsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool Handle Count [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(101,50,148,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Handle Count", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.application_pool.process.handle_count", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "top_n" + }, + "title": "Application Pool Handle Count [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "98b90fa0-861d-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:20:26.266Z", + "version": "WzkwMTgsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool Filters [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "controls": [ + { + "fieldName": "iis.application_pool.name", + "id": "1549397251041", + "indexPatternRefName": "control_0_index_pattern", + "label": "Application Pools", + "options": { + "dynamicOptions": true, + "multiselect": true, + "order": "desc", + "size": 5, + "type": "terms" + }, + "parent": "", + "type": "list" + } + ], + "pinFilters": false, + "updateFiltersOnChange": true, + "useTimeFilter": false + }, + "title": "Application Pool Filters [Metricbeat IIS]", + "type": "input_control_vis" + } + }, + "id": "dd419de0-861d-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [ + { + "id": "metricbeat-*", + "name": "control_0_index_pattern", + "type": "index-pattern" + } + ], + "type": "visualization", + "updated_at": "2020-04-24T11:22:21.246Z", + "version": "WzkwMjksMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool IO Write Operations [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,188,0,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "IO Write Operations/s", + "line_width": "2", + "metrics": [ + { + "field": "iis.application_pool.process.io_write_operations_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Application Pool IO Write Operations [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "442a86c0-861e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:25:13.899Z", + "version": "WzkwNDIsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool IO Read Operations [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,196,0,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "IO Read Operations/s", + "line_width": "2", + "metrics": [ + { + "field": "iis.application_pool.process.io_read_operations_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Application Pool IO Read Operations [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "29a23aa0-861e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:26:30.995Z", + "version": "WzkwNjcsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool Working Set [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(115,216,255,1)", + "fill": "0", + "formatter": "bytes", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Working Set", + "line_width": "2", + "metrics": [ + { + "field": "iis.application_pool.process.working_set", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Application Pool Working Set [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "34bfec50-8620-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:39:22.702Z", + "version": "WzkxMTEsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool Virtual Bytes [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(0,98,177,1)", + "fill": "0", + "formatter": "bytes", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Virtual Bytes", + "line_width": "2", + "metrics": [ + { + "field": "iis.application_pool.process.virtual_bytes", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Application Pool Virtual Bytes [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "14300bf0-8620-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:38:12.399Z", + "version": "WzkxMDEsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool Private Bytes [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#3185FC", + "fill": "0", + "formatter": "bytes", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Private Bytes", + "line_width": "2", + "metrics": [ + { + "field": "iis.application_pool.process.private_bytes", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Application Pool Private Bytes [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "f7194cc0-861f-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T12:19:46.947Z", + "version": "Wzk3MjQsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Application Pool CPU Usage [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#3185FC", + "fill": "0", + "formatter": "percent", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "CPU Usage", + "line_width": "2", + "metrics": [ + { + "field": "iis.application_pool.process.cpu_usage_perc", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.application_pool.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Application Pool CPU Usage [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "90fe3b30-861f-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:34:32.291Z", + "version": "WzkwODEsMTNd" + } + ], + "version": "7.6.0" +} diff --git a/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-webserver-overview.json b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-webserver-overview.json new file mode 100644 index 00000000000..57fe28b8ea6 --- /dev/null +++ b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-webserver-overview.json @@ -0,0 +1,1602 @@ +{ + "objects": [ + { + "attributes": { + "description": "This dashboard shows metrics for the IIS server.", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 5, + "i": "55b62196-f0fa-4473-a578-c5197ae7581c", + "w": 10, + "x": 0, + "y": 0 + }, + "panelIndex": "55b62196-f0fa-4473-a578-c5197ae7581c", + "panelRefName": "panel_0", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "9f1c724a-e57a-4667-8930-b60997efeee5", + "w": 9, + "x": 10, + "y": 0 + }, + "panelIndex": "9f1c724a-e57a-4667-8930-b60997efeee5", + "panelRefName": "panel_1", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "5aeeab99-314c-4732-b731-ebd390fa9210", + "w": 10, + "x": 19, + "y": 0 + }, + "panelIndex": "5aeeab99-314c-4732-b731-ebd390fa9210", + "panelRefName": "panel_2", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "88113bca-98b0-4877-b768-46f9b1c29751", + "w": 10, + "x": 29, + "y": 0 + }, + "panelIndex": "88113bca-98b0-4877-b768-46f9b1c29751", + "panelRefName": "panel_3", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "0add6210-d7d5-4b66-afaa-bcec0bc445d9", + "w": 9, + "x": 39, + "y": 0 + }, + "panelIndex": "0add6210-d7d5-4b66-afaa-bcec0bc445d9", + "panelRefName": "panel_4", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 8, + "i": "e809e015-29b2-496b-aaf1-f461d59b1568", + "w": 5, + "x": 0, + "y": 5 + }, + "panelIndex": "e809e015-29b2-496b-aaf1-f461d59b1568", + "panelRefName": "panel_5", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 8, + "i": "6ebec04f-3df0-4995-ae9c-836774f05ea7", + "w": 5, + "x": 5, + "y": 5 + }, + "panelIndex": "6ebec04f-3df0-4995-ae9c-836774f05ea7", + "panelRefName": "panel_6", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "Total Requests" + }, + "gridData": { + "h": 12, + "i": "41de633b-40aa-4456-967a-5737d139a374", + "w": 38, + "x": 10, + "y": 9 + }, + "panelIndex": "41de633b-40aa-4456-967a-5737d139a374", + "panelRefName": "panel_7", + "title": "Total Requests", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 8, + "i": "3e1276ed-2f8f-4a07-948c-cf5ae0de9fc3", + "w": 5, + "x": 0, + "y": 13 + }, + "panelIndex": "3e1276ed-2f8f-4a07-948c-cf5ae0de9fc3", + "panelRefName": "panel_8", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 8, + "i": "983e0c36-04f7-4ec0-b6a6-8d2599a63065", + "w": 5, + "x": 5, + "y": 13 + }, + "panelIndex": "983e0c36-04f7-4ec0-b6a6-8d2599a63065", + "panelRefName": "panel_9", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "Total Bytes Transferred" + }, + "gridData": { + "h": 14, + "i": "aa567463-86ec-4bbe-bf0f-b0d4d1d57bb0", + "w": 24, + "x": 24, + "y": 21 + }, + "panelIndex": "aa567463-86ec-4bbe-bf0f-b0d4d1d57bb0", + "panelRefName": "panel_10", + "title": "Total Bytes Transferred", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "Bytes Transferred/sec" + }, + "gridData": { + "h": 14, + "i": "623596fb-3f1f-4f2e-b15b-800d197ce1aa", + "w": 24, + "x": 0, + "y": 21 + }, + "panelIndex": "623596fb-3f1f-4f2e-b15b-800d197ce1aa", + "panelRefName": "panel_11", + "title": "Bytes Transferred/sec", + "version": "7.6.2" + } + ], + "timeRestore": false, + "title": "[Metricbeat IIS] Webserver Overview", + "version": 1 + }, + "id": "ebc23240-8572-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "dashboard": "7.3.0" + }, + "references": [ + { + "id": "40614070-8573-11ea-91bc-ab084c7ec0e7", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "82f1d7d0-858a-11ea-91bc-ab084c7ec0e7", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "c92e0b80-8574-11ea-91bc-ab084c7ec0e7", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "348c4fe0-8575-11ea-91bc-ab084c7ec0e7", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "461a8640-8576-11ea-91bc-ab084c7ec0e7", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "c8e467d0-8d55-11ea-817c-a9b6d42fd8a0", + "name": "panel_5", + "type": "visualization" + }, + { + "id": "df9d0e50-8d55-11ea-817c-a9b6d42fd8a0", + "name": "panel_6", + "type": "visualization" + }, + { + "id": "75812480-857f-11ea-91bc-ab084c7ec0e7", + "name": "panel_7", + "type": "visualization" + }, + { + "id": "14e77b40-8d56-11ea-817c-a9b6d42fd8a0", + "name": "panel_8", + "type": "visualization" + }, + { + "id": "2d802c60-8d56-11ea-817c-a9b6d42fd8a0", + "name": "panel_9", + "type": "visualization" + }, + { + "id": "68a9df20-8581-11ea-91bc-ab084c7ec0e7", + "name": "panel_10", + "type": "visualization" + }, + { + "id": "92acc3e0-8582-11ea-91bc-ab084c7ec0e7", + "name": "panel_11", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2020-05-03T16:20:16.383Z", + "version": "WzEyNDUsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Navigation Webserver Overview [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "fontSize": 10, + "markdown": "### IIS\n\n[**Webserver**](#/dashboard/ebc23240-8572-11ea-91bc-ab084c7ec0e7)| [Webserver processes](#/dashboard/2c171500-858b-11ea-91bc-ab084c7ec0e7) | [Websites](#/dashboard/4b975820-85a1-11ea-91bc-ab084c7ec0e7) | [Application Pools](#/dashboard/b4108810-861c-11ea-91bc-ab084c7ec0e7) \n\n\n\n", + "openLinksInNewTab": false + }, + "title": "Navigation Webserver Overview [Metricbeat IIS]", + "type": "markdown" + } + }, + "id": "40614070-8573-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUwOSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Service Uptime [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,49,21,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "s,h,", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Service Uptime", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.service_uptime", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} h" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Service Uptime [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "82f1d7d0-858a-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUxMCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Current Connections [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,188,0,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Current Connections", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.current_connections", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Current Connections [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "c92e0b80-8574-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUxMSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Maximum Connections [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,204,202,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Maximum Connections", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.maximum_connections", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Maximum Connections [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "348c4fe0-8575-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUxMiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Total Connection Attempts [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(251,158,0,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Total Connection Attempts", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.total_connection_attempts", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Total Connection Attempts [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "461a8640-8576-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUxMywxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Overview Current Anonymous Users [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(49,211,21,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Current Anonymous Users", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.current_anonymous_users", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Overview Current Anonymous Users [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "c8e467d0-8d55-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:50:17.034Z", + "version": "WzEwNjcsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Overview Total Anonymous Users [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(21,68,211,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Total Anonymous Users", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.total_anonymous_users", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Overview Total Anonymous Users [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "df9d0e50-8d55-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:50:55.156Z", + "version": "WzEwNzMsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Total Requests [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#3185FC", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Total Get Requests", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.network.total_get_requests", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "everything", + "stacked": "none", + "terms_field": null, + "type": "timeseries", + "value_template": "{{value}}" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": "0", + "formatter": "number", + "id": "55ef6fb0-857e-11ea-87b6-db4d36ae5839", + "label": "Total Post Requests", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.network.total_post_requests", + "id": "55ef6fb1-857e-11ea-87b6-db4d36ae5839", + "type": "avg" + } + ], + "point_size": "0", + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(149,0,188,1)", + "fill": "0", + "formatter": "number", + "id": "7501b0c0-857e-11ea-87b6-db4d36ae5839", + "label": "Total Delete Requests", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.network.total_delete_requests", + "id": "7501b0c1-857e-11ea-87b6-db4d36ae5839", + "type": "avg" + } + ], + "point_size": "", + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Webserver Total Requests [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "75812480-857f-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUxNSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Overview Current Non Anonymous Users [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(171,21,211,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Current Non Anonymous Users", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.current_non_anonymous_users", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Overview Current Non Anonymous Users [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "14e77b40-8d56-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:52:24.564Z", + "version": "WzEwOTcsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Overview Total Non Anonymous Users [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,21,105,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Total Non Anonymous Users", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.total_non_anonymous_users", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Overview Total Non Anonymous Users [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "2d802c60-8d56-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:53:05.830Z", + "version": "WzExMDQsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Total Bytes Transfered [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(251,158,0,1)", + "fill": "0", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "bytes", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Total Bytes Sent ", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.total_bytes_sent", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}}" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": "0", + "formatter": "bytes", + "id": "cb6910f0-8580-11ea-8d9f-cf59f8572d31", + "label": "Total Bytes Received", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.network.total_bytes_received", + "id": "cb693800-8580-11ea-8d9f-cf59f8572d31", + "type": "avg" + } + ], + "point_size": "", + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "timeseries" + }, + "title": "Webserver Total Bytes Transfered [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "68a9df20-8581-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUxNywxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Bytes Transfered Per Sec [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(22,165,165,1)", + "fill": "0", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Bytes Sent/sec", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.network.bytes_sent_per_sec", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}}/s" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(250,40,255,1)", + "fill": "0", + "formatter": "number", + "id": "cb6910f0-8580-11ea-8d9f-cf59f8572d31", + "label": "Bytes Received/sec", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.network.bytes_received_per_sec", + "id": "cb693800-8580-11ea-8d9f-cf59f8572d31", + "type": "avg" + } + ], + "point_size": "", + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "timeseries" + }, + "title": "Webserver Bytes Transfered Per Sec [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "92acc3e0-8582-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:24.547Z", + "version": "WzUxNiwxXQ==" + } + ], + "version": "7.6.2" +} diff --git a/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-webserver-process-overview.json b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-webserver-process-overview.json new file mode 100644 index 00000000000..6c294be381f --- /dev/null +++ b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-webserver-process-overview.json @@ -0,0 +1,1510 @@ +{ + "objects": [ + { + "attributes": { + "description": "This dashboard shows process and cache metrics for the IIS server.", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 5, + "i": "8c503a52-2cfb-4922-97db-b91bf343285d", + "w": 10, + "x": 0, + "y": 0 + }, + "panelIndex": "8c503a52-2cfb-4922-97db-b91bf343285d", + "panelRefName": "panel_0", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 11, + "i": "1bfd458d-84ff-4b0c-b091-9bfd7ac15de1", + "w": 8, + "x": 10, + "y": 0 + }, + "panelIndex": "1bfd458d-84ff-4b0c-b091-9bfd7ac15de1", + "panelRefName": "panel_1", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 11, + "i": "c0111c35-69be-41b9-a6be-b83f83721aeb", + "w": 10, + "x": 18, + "y": 0 + }, + "panelIndex": "c0111c35-69be-41b9-a6be-b83f83721aeb", + "panelRefName": "panel_2", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 11, + "i": "b857a52c-865a-4f99-9acb-cc6b64b4508b", + "w": 10, + "x": 28, + "y": 0 + }, + "panelIndex": "b857a52c-865a-4f99-9acb-cc6b64b4508b", + "panelRefName": "panel_3", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 11, + "i": "dfbef78c-4636-4c5f-ad52-45f931b6a101", + "w": 10, + "x": 38, + "y": 0 + }, + "panelIndex": "dfbef78c-4636-4c5f-ad52-45f931b6a101", + "panelRefName": "panel_4", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "552a8182-6705-4faa-95e5-2cde2a3e77c0", + "w": 5, + "x": 0, + "y": 5 + }, + "panelIndex": "552a8182-6705-4faa-95e5-2cde2a3e77c0", + "panelRefName": "panel_5", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "1f8299eb-beef-4851-ac58-4416891629c2", + "w": 5, + "x": 5, + "y": 5 + }, + "panelIndex": "1f8299eb-beef-4851-ac58-4416891629c2", + "panelRefName": "panel_6", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "IO Operations" + }, + "gridData": { + "h": 12, + "i": "5b29dd93-bdc2-4539-a08f-023638a8ccdb", + "w": 38, + "x": 10, + "y": 11 + }, + "panelIndex": "5b29dd93-bdc2-4539-a08f-023638a8ccdb", + "panelRefName": "panel_7", + "title": "IO Operations", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "c0d58d03-1af7-46d0-a01d-6d9c2d05d703", + "w": 5, + "x": 0, + "y": 14 + }, + "panelIndex": "c0d58d03-1af7-46d0-a01d-6d9c2d05d703", + "panelRefName": "panel_8", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 9, + "i": "ddc9edcc-d8ee-4953-9f8e-0c24328a90e3", + "w": 5, + "x": 5, + "y": 14 + }, + "panelIndex": "ddc9edcc-d8ee-4953-9f8e-0c24328a90e3", + "panelRefName": "panel_9", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "Memory Usage" + }, + "gridData": { + "h": 15, + "i": "12a8098a-9dfa-464b-b4b7-c08a02829aa1", + "w": 24, + "x": 24, + "y": 23 + }, + "panelIndex": "12a8098a-9dfa-464b-b4b7-c08a02829aa1", + "panelRefName": "panel_10", + "title": "Memory Usage", + "version": "7.6.2" + }, + { + "embeddableConfig": { + "title": "CPU Usage" + }, + "gridData": { + "h": 15, + "i": "4b54bddb-c2e7-47a1-ab7c-71c51e91a931", + "w": 24, + "x": 0, + "y": 23 + }, + "panelIndex": "4b54bddb-c2e7-47a1-ab7c-71c51e91a931", + "panelRefName": "panel_11", + "title": "CPU Usage", + "version": "7.6.2" + } + ], + "timeRestore": false, + "title": "[Metricbeat IIS] Webserver Process Overview", + "version": 1 + }, + "id": "2c171500-858b-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "dashboard": "7.3.0" + }, + "references": [ + { + "id": "e6fab5c0-858b-11ea-91bc-ab084c7ec0e7", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "1084a0e0-8d57-11ea-817c-a9b6d42fd8a0", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "55755550-858c-11ea-91bc-ab084c7ec0e7", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "6c1272a0-858e-11ea-91bc-ab084c7ec0e7", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "92dcde20-858e-11ea-91bc-ab084c7ec0e7", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "d9dc78b0-8d56-11ea-817c-a9b6d42fd8a0", + "name": "panel_5", + "type": "visualization" + }, + { + "id": "b5c6f400-8d56-11ea-817c-a9b6d42fd8a0", + "name": "panel_6", + "type": "visualization" + }, + { + "id": "e26479e0-858d-11ea-91bc-ab084c7ec0e7", + "name": "panel_7", + "type": "visualization" + }, + { + "id": "7d9e1f40-8d56-11ea-817c-a9b6d42fd8a0", + "name": "panel_8", + "type": "visualization" + }, + { + "id": "945f7850-8d56-11ea-817c-a9b6d42fd8a0", + "name": "panel_9", + "type": "visualization" + }, + { + "id": "e4d91170-858f-11ea-91bc-ab084c7ec0e7", + "name": "panel_10", + "type": "visualization" + }, + { + "id": "2dd099f0-858d-11ea-91bc-ab084c7ec0e7", + "name": "panel_11", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2020-05-03T16:16:09.608Z", + "version": "WzEyMTcsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Navigation Webserver Process Overview [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "fontSize": 10, + "markdown": "### IIS\n\n[Webserver](#/dashboard/ebc23240-8572-11ea-91bc-ab084c7ec0e7)| [**Webserver processes**](#/dashboard/2c171500-858b-11ea-91bc-ab084c7ec0e7) | [Websites](#/dashboard/4b975820-85a1-11ea-91bc-ab084c7ec0e7) | [Application Pools](#/dashboard/b4108810-861c-11ea-91bc-ab084c7ec0e7) ", + "openLinksInNewTab": false + }, + "title": "Navigation Webserver Process Overview [Metricbeat IIS]", + "type": "markdown" + } + }, + "id": "e6fab5c0-858b-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:25.601Z", + "version": "WzUxOSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process Output Cache Current Memory Usage [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,181,21,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "bytes", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Output Cache Current Memory Usage", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.cache.output_cache_current_memory_usage", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Process Output Cache Current Memory Usage [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "1084a0e0-8d57-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T16:10:45.498Z", + "version": "WzExOTEsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process Worker Process Count [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,49,21,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Worker Processes", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.process.worker_process_count", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Process Worker Process Count [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "55755550-858c-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:25.601Z", + "version": "WzUyMCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process Thread Count [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(22,165,165,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Thread Count", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.process.thread_count", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Process Thread Count [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "6c1272a0-858e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:25.601Z", + "version": "WzUyMSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process Handle Count [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(101,50,148,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Handle Count", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.process.handle_count", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Process Handle Count [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "92dcde20-858e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:25.601Z", + "version": "WzUyMiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process Current Files Cached [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(21,211,162,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Current Files Cached", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.cache.current_files_cached", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Process Current Files Cached [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "d9dc78b0-8d56-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:57:55.003Z", + "version": "WzExMzMsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process Total Files Cached [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(21,162,211,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Total Files Cached", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.cache.total_files_cached", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Process Total Files Cached [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "b5c6f400-8d56-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:57:12.722Z", + "version": "WzExMjgsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process IO Operations [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,196,0,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "IO Read Operations/s", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.process.io_read_operations_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "everything", + "stacked": "none", + "terms_field": null, + "type": "timeseries", + "value_template": "{{value}}/s" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": "0", + "formatter": "number", + "id": "55ef6fb0-857e-11ea-87b6-db4d36ae5839", + "label": "IO Write Operations/s", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.process.io_write_operations_per_sec", + "id": "55ef6fb1-857e-11ea-87b6-db4d36ae5839", + "type": "avg" + } + ], + "point_size": "0", + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Webserver Process IO Operations [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "e26479e0-858d-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:25.601Z", + "version": "WzUyNCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Current Uris Cached [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,21,105,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Current Uris Cached", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.cache.current_uris_cached", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Current Uris Cached [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "7d9e1f40-8d56-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:55:20.244Z", + "version": "WzExMTQsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Total Uris Cached [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(92,21,211,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Total Uris Cached", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.webserver.cache.total_uris_cached", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "everything", + "stacked": "none", + "terms_field": "cloud.instance.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}} " + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "gauge" + }, + "title": "Webserver Total Uris Cached [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "945f7850-8d56-11ea-817c-a9b6d42fd8a0", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-05-03T15:55:58.421Z", + "version": "WzExMjAsMV0=" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process Memory Usage [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#3185FC", + "fill": "0", + "formatter": "bytes", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Private Bytes", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.process.private_bytes", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "everything", + "stacked": "none", + "terms_field": null, + "type": "timeseries", + "value_template": "{{value}}" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": "0", + "formatter": "bytes", + "id": "55ef6fb0-857e-11ea-87b6-db4d36ae5839", + "label": "Virtual Bytes", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.process.virtual_bytes", + "id": "55ef6fb1-857e-11ea-87b6-db4d36ae5839", + "type": "avg" + } + ], + "point_size": "0", + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(149,0,188,1)", + "fill": "0", + "formatter": "bytes", + "id": "7501b0c0-857e-11ea-87b6-db4d36ae5839", + "label": "Working Set", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.process.working_set", + "id": "7501b0c1-857e-11ea-87b6-db4d36ae5839", + "type": "avg" + } + ], + "point_size": "", + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Webserver Process Memory Usage [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "e4d91170-858f-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:25.601Z", + "version": "WzUyNiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Webserver Process CPU Usage [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#3185FC", + "fill": "0", + "formatter": "percent", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "CPU Usage", + "line_width": "2", + "metrics": [ + { + "field": "iis.webserver.process.cpu_usage_perc", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "everything", + "stacked": "none", + "terms_field": null, + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Webserver Process CPU Usage [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "2dd099f0-858d-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T13:07:25.601Z", + "version": "WzUyNSwxXQ==" + } + ], + "version": "7.6.2" +} diff --git a/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-website-overview.json b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-website-overview.json new file mode 100644 index 00000000000..8f1491f0f1c --- /dev/null +++ b/x-pack/metricbeat/module/iis/_meta/kibana/7/dashboard/Metricbeat-iis-website-overview.json @@ -0,0 +1,1685 @@ +{ + "objects": [ + { + "attributes": { + "description": "This dashboard shows metrics for the websites running on IIS.", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "title": "" + }, + "gridData": { + "h": 6, + "i": "e8bd7244-57bf-4e16-b096-4fa7cb8cbba8", + "w": 9, + "x": 0, + "y": 0 + }, + "panelIndex": "e8bd7244-57bf-4e16-b096-4fa7cb8cbba8", + "panelRefName": "panel_0", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Current Connections" + }, + "gridData": { + "h": 12, + "i": "193cca9a-a5c3-40c4-a9af-1020b279b845", + "w": 13, + "x": 9, + "y": 0 + }, + "panelIndex": "193cca9a-a5c3-40c4-a9af-1020b279b845", + "panelRefName": "panel_1", + "title": "Current Connections", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Maximum Connections" + }, + "gridData": { + "h": 12, + "i": "7b5d1298-0480-443a-bf0e-5b594903c680", + "w": 13, + "x": 22, + "y": 0 + }, + "panelIndex": "7b5d1298-0480-443a-bf0e-5b594903c680", + "panelRefName": "panel_2", + "title": "Maximum Connections", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Total Connection Attempts" + }, + "gridData": { + "h": 12, + "i": "fd0c5fd7-4df8-44d9-905f-5634f49ae875", + "w": 13, + "x": 35, + "y": 0 + }, + "panelIndex": "fd0c5fd7-4df8-44d9-905f-5634f49ae875", + "panelRefName": "panel_3", + "title": "Total Connection Attempts", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Filters" + }, + "gridData": { + "h": 6, + "i": "69a127c6-8c4f-403a-aded-7a49dc3d3cd9", + "w": 9, + "x": 0, + "y": 6 + }, + "panelIndex": "69a127c6-8c4f-403a-aded-7a49dc3d3cd9", + "panelRefName": "panel_4", + "title": "Filters", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Service Uptime" + }, + "gridData": { + "h": 12, + "i": "545b1abe-fd22-455b-8bc6-68bd48c2d384", + "w": 9, + "x": 0, + "y": 12 + }, + "panelIndex": "545b1abe-fd22-455b-8bc6-68bd48c2d384", + "panelRefName": "panel_5", + "title": "Service Uptime", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Bytes Sent/sec" + }, + "gridData": { + "h": 12, + "i": "c026e461-8b64-4952-be07-744773cb18b9", + "w": 20, + "x": 9, + "y": 12 + }, + "panelIndex": "c026e461-8b64-4952-be07-744773cb18b9", + "panelRefName": "panel_6", + "title": "Bytes Sent/sec", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Bytes Received/sec" + }, + "gridData": { + "h": 12, + "i": "98b6e727-3343-43df-84e1-12933856f432", + "w": 19, + "x": 29, + "y": 12 + }, + "panelIndex": "98b6e727-3343-43df-84e1-12933856f432", + "panelRefName": "panel_7", + "title": "Bytes Received/sec", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "GET Requests/sec" + }, + "gridData": { + "h": 12, + "i": "d4b32bd4-dee2-44e2-930d-91e4607c0668", + "w": 12, + "x": 0, + "y": 24 + }, + "panelIndex": "d4b32bd4-dee2-44e2-930d-91e4607c0668", + "panelRefName": "panel_8", + "title": "GET Requests/sec", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "POST Requests/sec" + }, + "gridData": { + "h": 12, + "i": "d24b5bb0-6dc3-40ba-91cb-5ca5e48a3afa", + "w": 12, + "x": 12, + "y": 24 + }, + "panelIndex": "d24b5bb0-6dc3-40ba-91cb-5ca5e48a3afa", + "panelRefName": "panel_9", + "title": "POST Requests/sec", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "PUT Requests/sec" + }, + "gridData": { + "h": 12, + "i": "c8cfac9e-ad2a-4ddf-94c9-0454e987b2b8", + "w": 12, + "x": 24, + "y": 24 + }, + "panelIndex": "c8cfac9e-ad2a-4ddf-94c9-0454e987b2b8", + "panelRefName": "panel_10", + "title": "PUT Requests/sec", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "DELETE Requests/sec" + }, + "gridData": { + "h": 12, + "i": "41b4d631-4878-49af-b34b-f04f473599c8", + "w": 12, + "x": 36, + "y": 24 + }, + "panelIndex": "41b4d631-4878-49af-b34b-f04f473599c8", + "panelRefName": "panel_11", + "title": "DELETE Requests/sec", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Total DELETE Requests" + }, + "gridData": { + "h": 12, + "i": "90d9d209-6ef9-4ab7-b9a2-48a1f420e555", + "w": 12, + "x": 36, + "y": 36 + }, + "panelIndex": "90d9d209-6ef9-4ab7-b9a2-48a1f420e555", + "panelRefName": "panel_12", + "title": "Total DELETE Requests", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Total GET Requests" + }, + "gridData": { + "h": 12, + "i": "c7379d87-3da3-4be4-a8bd-8db04da66ba4", + "w": 12, + "x": 0, + "y": 36 + }, + "panelIndex": "c7379d87-3da3-4be4-a8bd-8db04da66ba4", + "panelRefName": "panel_13", + "title": "Total GET Requests", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Total POST Requests" + }, + "gridData": { + "h": 12, + "i": "9a22a36c-5fe8-4cc2-be23-4d9db2d7beda", + "w": 12, + "x": 12, + "y": 36 + }, + "panelIndex": "9a22a36c-5fe8-4cc2-be23-4d9db2d7beda", + "panelRefName": "panel_14", + "title": "Total POST Requests", + "version": "7.6.0" + }, + { + "embeddableConfig": { + "title": "Total PUT Requests " + }, + "gridData": { + "h": 12, + "i": "6cf940a0-eb04-447b-8f7e-d4561f8838ac", + "w": 12, + "x": 24, + "y": 36 + }, + "panelIndex": "6cf940a0-eb04-447b-8f7e-d4561f8838ac", + "panelRefName": "panel_15", + "title": "Total PUT Requests ", + "version": "7.6.0" + } + ], + "timeRestore": false, + "title": "[Metricbeat IIS] Website Overview", + "version": 1 + }, + "id": "4b975820-85a1-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "dashboard": "7.3.0" + }, + "references": [ + { + "id": "f9723710-8602-11ea-91bc-ab084c7ec0e7", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "57d914d0-860e-11ea-91bc-ab084c7ec0e7", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "6db58c20-860e-11ea-91bc-ab084c7ec0e7", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "e3ee4990-860e-11ea-91bc-ab084c7ec0e7", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "b7230190-8603-11ea-91bc-ab084c7ec0e7", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "4557d670-860e-11ea-91bc-ab084c7ec0e7", + "name": "panel_5", + "type": "visualization" + }, + { + "id": "c784f9b0-8614-11ea-91bc-ab084c7ec0e7", + "name": "panel_6", + "type": "visualization" + }, + { + "id": "96fe7d70-8614-11ea-91bc-ab084c7ec0e7", + "name": "panel_7", + "type": "visualization" + }, + { + "id": "4921d5c0-8619-11ea-91bc-ab084c7ec0e7", + "name": "panel_8", + "type": "visualization" + }, + { + "id": "7dabd8e0-8619-11ea-91bc-ab084c7ec0e7", + "name": "panel_9", + "type": "visualization" + }, + { + "id": "a9427270-8619-11ea-91bc-ab084c7ec0e7", + "name": "panel_10", + "type": "visualization" + }, + { + "id": "7453b910-8624-11ea-91bc-ab084c7ec0e7", + "name": "panel_11", + "type": "visualization" + }, + { + "id": "8ee988d0-861b-11ea-91bc-ab084c7ec0e7", + "name": "panel_12", + "type": "visualization" + }, + { + "id": "1b4f8790-861a-11ea-91bc-ab084c7ec0e7", + "name": "panel_13", + "type": "visualization" + }, + { + "id": "31ed84b0-861b-11ea-91bc-ab084c7ec0e7", + "name": "panel_14", + "type": "visualization" + }, + { + "id": "54038fe0-861b-11ea-91bc-ab084c7ec0e7", + "name": "panel_15", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2020-04-24T12:15:15.363Z", + "version": "Wzk1OTcsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Navigation Website Overview [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "fontSize": 10, + "markdown": "### IIS\n\n[Webserver](#/dashboard/ebc23240-8572-11ea-91bc-ab084c7ec0e7)| [Webserver processes](#/dashboard/2c171500-858b-11ea-91bc-ab084c7ec0e7) | [**Websites**](#/dashboard/4b975820-85a1-11ea-91bc-ab084c7ec0e7) | [Application Pools](#/dashboard/b4108810-861c-11ea-91bc-ab084c7ec0e7) \n\n\n\n", + "openLinksInNewTab": false + }, + "title": "Navigation Website Overview [Metricbeat IIS]", + "type": "markdown" + } + }, + "id": "f9723710-8602-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T12:15:06.609Z", + "version": "Wzk1ODIsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Current Connections [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,188,0,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Current Connections", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.website.network.current_connections", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "terms_order_by": "_count", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "top_n" + }, + "title": "Website Current Connections [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "57d914d0-860e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:09:05.853Z", + "version": "Wzg3NTksMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Maximum Connections [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,204,202,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Maximum Connections", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.website.network.maximum_connections", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "top_n" + }, + "title": "Website Maximum Connections [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "6db58c20-860e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:07:57.207Z", + "version": "Wzg3NDMsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Total Connection Attempts [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(251,158,0,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Total Connection Attempts", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.website.network.total_connection_attempts", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "terms_order_by": "_count", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "top_n" + }, + "title": "Website Total Connection Attempts [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "e3ee4990-860e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:08:45.818Z", + "version": "Wzg3NTMsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Filters [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "controls": [ + { + "fieldName": "iis.website.name", + "id": "1549397251041", + "indexPatternRefName": "control_0_index_pattern", + "label": "Website", + "options": { + "dynamicOptions": true, + "multiselect": true, + "order": "desc", + "size": 5, + "type": "terms" + }, + "parent": "", + "type": "list" + } + ], + "pinFilters": false, + "updateFiltersOnChange": true, + "useTimeFilter": false + }, + "title": "Website Filters [Metricbeat IIS]", + "type": "input_control_vis" + } + }, + "id": "b7230190-8603-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [ + { + "id": "metricbeat-*", + "name": "control_0_index_pattern", + "type": "index-pattern" + } + ], + "type": "visualization", + "updated_at": "2020-04-24T09:47:17.191Z", + "version": "Wzg2NDUsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Service Uptime [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "background_color": null, + "background_color_rules": [ + { + "id": "71978870-32e4-11ea-af9e-d70582a45bda" + } + ], + "bar_color_rules": [ + { + "id": "f11cfd90-32e5-11ea-af9e-d70582a45bda" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "drilldown_url": "", + "filter": { + "language": "kuery", + "query": "" + }, + "gauge_color_rules": [ + { + "id": "9c09ed50-32e4-11ea-af9e-d70582a45bda" + } + ], + "gauge_inner_color": null, + "gauge_inner_width": "6", + "gauge_style": "circle", + "gauge_width": "10", + "id": "61fb4190-32e4-11ea-b9f8-4d0b340ad993", + "index_pattern": "metricbeat-*", + "interval": "60m", + "isModelInvalid": false, + "pivot_id": "cloud.instance.name", + "pivot_label": "Resource Name", + "pivot_rows": "30", + "pivot_type": "string", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,49,21,1)", + "fill": "1.2", + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "s,d,", + "id": "61fb4191-32e4-11ea-b9f8-4d0b340ad993", + "label": "Service Uptime", + "line_width": 2, + "metrics": [ + { + "agg_with": "avg", + "field": "iis.website.network.service_uptime", + "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "gradient", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "terms_order_by": "_count", + "terms_size": "10", + "type": "timeseries", + "value_template": "{{value}} d" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "time_range_mode": "entire_time_range", + "type": "top_n" + }, + "title": "Website Service Uptime [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "4557d670-860e-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:06:35.877Z", + "version": "Wzg3MjksMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Bytes Sent/s [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,196,0,1)", + "fill": "0", + "formatter": "bytes", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Bytes Sent", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.bytes_sent_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website Bytes Sent/s [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "c784f9b0-8614-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:17:19.307Z", + "version": "Wzg3ODgsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Bytes Received/s [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,196,0,1)", + "fill": "0", + "formatter": "bytes", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Bytes Received", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.bytes_received_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website Bytes Received/s [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "96fe7d70-8614-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:18:51.070Z", + "version": "Wzg3OTksMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website GET Requests/s [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,196,0,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "GET Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.get_requests_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website GET Requests/s [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "4921d5c0-8619-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:49:34.748Z", + "version": "Wzg4MjQsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website POST Requests/s [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,196,0,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "POST Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.post_requests_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website POST Requests/s [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "7dabd8e0-8619-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:51:02.893Z", + "version": "Wzg4MjksMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website PUT Requests/s [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,49,21,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "PUT Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.put_requests_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website PUT Requests/s [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "a9427270-8619-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T10:52:16.023Z", + "version": "Wzg4MzUsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website DELETE Requests/s [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(25,77,51,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "DELETE Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.delete_requests_per_sec", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}/s" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website DELETE Requests/s [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "7453b910-8624-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T12:09:31.681Z", + "version": "Wzk1MjEsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Total DELETE Requests [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(244,78,59,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Total DELETE Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.total_delete_requests", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website Total DELETE Requests [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "8ee988d0-861b-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:05:50.813Z", + "version": "Wzg4ODUsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Total GET Requests [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,188,0,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Total GET Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.total_get_requests", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website Total GET Requests [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "1b4f8790-861a-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:02:23.731Z", + "version": "Wzg4NjQsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Total POST Requests [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,188,0,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Total POST Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.total_post_requests", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website Total POST Requests [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "31ed84b0-861b-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:03:14.811Z", + "version": "Wzg4NjgsMTNd" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Website Total PUT Requests [Metricbeat IIS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "c9fd65d0-32e8-11ea-84f4-e9593f8ba8f6", + "index_pattern": "metricbeat-*", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(22,165,165,1)", + "fill": "0", + "formatter": "number", + "id": "c9fd8ce0-32e8-11ea-84f4-e9593f8ba8f6", + "label": "Total PUT Requests ", + "line_width": "2", + "metrics": [ + { + "field": "iis.website.network.total_put_requests", + "id": "c9fd8ce1-32e8-11ea-84f4-e9593f8ba8f6", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_color_mode": "rainbow", + "split_mode": "terms", + "stacked": "none", + "terms_field": "iis.website.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "type": "timeseries" + }, + "title": "Website Total PUT Requests [Metricbeat IIS]", + "type": "metrics" + } + }, + "id": "54038fe0-861b-11ea-91bc-ab084c7ec0e7", + "migrationVersion": { + "visualization": "7.4.2" + }, + "references": [], + "type": "visualization", + "updated_at": "2020-04-24T11:04:11.998Z", + "version": "Wzg4NzQsMTNd" + } + ], + "version": "7.6.0" +} diff --git a/x-pack/metricbeat/module/iis/application_pool/_meta/docs.asciidoc b/x-pack/metricbeat/module/iis/application_pool/_meta/docs.asciidoc index e85da0ee7e8..bb4c752b844 100644 --- a/x-pack/metricbeat/module/iis/application_pool/_meta/docs.asciidoc +++ b/x-pack/metricbeat/module/iis/application_pool/_meta/docs.asciidoc @@ -9,6 +9,12 @@ The `process` object contains System/Process counters like the the overall serve The `net_clr` object which returns ASP.NET error rate counter values. Users can specify the application pools they would like to monitor using the configuration option `application_pool.name`, else, all application pools are considered. +[float] +==== Dashboard + +image::./images/metricbeat-iis-application-pool-overview.png[] + + diff --git a/x-pack/metricbeat/module/iis/application_pool/reader.go b/x-pack/metricbeat/module/iis/application_pool/reader.go index 518d7231dca..2c137c42d65 100644 --- a/x-pack/metricbeat/module/iis/application_pool/reader.go +++ b/x-pack/metricbeat/module/iis/application_pool/reader.go @@ -49,7 +49,7 @@ var appPoolCounters = map[string]string{ "process.handle_count": "\\Process(w3wp*)\\Handle Count", "process.thread_count": "\\Process(w3wp*)\\Thread Count", "process.working_set": "\\Process(w3wp*)\\Working Set", - "process.private_byte": "\\Process(w3wp*)\\Private Bytes", + "process.private_bytes": "\\Process(w3wp*)\\Private Bytes", "process.virtual_bytes": "\\Process(w3wp*)\\Virtual Bytes", "process.page_faults_per_sec": "\\Process(w3wp*)\\Page Faults/sec", "process.io_read_operations_per_sec": "\\Process(w3wp*)\\IO Read Operations/sec", diff --git a/x-pack/metricbeat/module/iis/webserver/_meta/docs.asciidoc b/x-pack/metricbeat/module/iis/webserver/_meta/docs.asciidoc index 9b15b923985..9c77eb7de43 100644 --- a/x-pack/metricbeat/module/iis/webserver/_meta/docs.asciidoc +++ b/x-pack/metricbeat/module/iis/webserver/_meta/docs.asciidoc @@ -15,7 +15,12 @@ The `cache` object contains metrics from the user mode cache and output cache. The `asp_net` and `asp_net_application` contain asp.net related performance counter values. +[float] +==== Dashboard +image::./images/metricbeat-iis-webserver-overview.png[] + +image::./images/metricbeat-iis-webserver-process.png[] diff --git a/x-pack/metricbeat/module/iis/webserver/manifest.yml b/x-pack/metricbeat/module/iis/webserver/manifest.yml index 32da4b384b6..39648f054d8 100644 --- a/x-pack/metricbeat/module/iis/webserver/manifest.yml +++ b/x-pack/metricbeat/module/iis/webserver/manifest.yml @@ -33,8 +33,7 @@ input: - name: "Anonymous Users/sec" - name: "Total NonAnonymous Users" #asp.net - - object: "ASP.NET Applications" - instance: "__Total__" + - object: "ASP.NET" namespace: "asp_net" counters: - name: "Application Restarts" @@ -76,6 +75,7 @@ input: instance: "w3wp*" counters: - name: "% Processor Time" + field: "cpu_usage_perc" - name: "Handle Count" - name: "Thread Count" - name: "Working Set" diff --git a/x-pack/metricbeat/module/iis/website/_meta/docs.asciidoc b/x-pack/metricbeat/module/iis/website/_meta/docs.asciidoc index e4e6a5e9dc9..808afe381cf 100644 --- a/x-pack/metricbeat/module/iis/website/_meta/docs.asciidoc +++ b/x-pack/metricbeat/module/iis/website/_meta/docs.asciidoc @@ -7,6 +7,9 @@ The metrics contain the IIS Performance counter values like: Web Service: Current Connections (through experience with their apps app, users can identify what is a normal value for this) and others. +[float] +==== Dashboard +image::./images/metricbeat-iis-website-overview.png[] diff --git a/x-pack/metricbeat/module/iis/website/manifest.yml b/x-pack/metricbeat/module/iis/website/manifest.yml index 62ebfd27ed8..8492b584948 100644 --- a/x-pack/metricbeat/module/iis/website/manifest.yml +++ b/x-pack/metricbeat/module/iis/website/manifest.yml @@ -6,18 +6,18 @@ input: perfmon.group_measurements_by_instance: true perfmon.ignore_non_existent_counters: true perfmon.queries: - - object: 'Web Service' + - object: "Web Service" instance: "*" namespace : "network" counters: - - name: 'Total Bytes Received' - - name: 'Total Bytes Sent' + - name: "Total Bytes Received" + - name: "Total Bytes Sent" - name: "Bytes Sent/sec" - name: "Bytes Received/sec" - name: "Current Connections" - name: "Maximum Connections" - name: "Total Connection Attempts (all instances)" - field: total_connection_attempts + field: "total_connection_attempts" - name: "Total Get Requests" - name: "Get Requests/sec" - name: "Total Post Requests" @@ -30,7 +30,7 @@ input: processors: - drop_event.when.equals: - iis.website.name: '_Total' + iis.website.instance: '_Total' - drop_fields: fields: "iis.website.object" - rename: