aboutsummaryrefslogtreecommitdiffstats
path: root/testing/metricbeat/metricbeat.yml
diff options
context:
space:
mode:
authorprivate <ramzthecoder@gmail.com>2017-04-09 08:33:08 +1000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-28 14:27:34 +0000
commitdad87bb8a1d43af1ece356f9ce5fd0af06a80245 (patch)
treebd598af86d97c47db0fd89168664db51d0fd1580 /testing/metricbeat/metricbeat.yml
parent644aa623a084f600c2ccaf0634904141c1b03d6b (diff)
downloadaports-dad87bb8a1d43af1ece356f9ce5fd0af06a80245.tar.bz2
aports-dad87bb8a1d43af1ece356f9ce5fd0af06a80245.tar.xz
testing/metricbeat: new aport
MetricBeat - Lightweight shipper for system and service https://www.elastic.co/products/beats
Diffstat (limited to 'testing/metricbeat/metricbeat.yml')
-rw-r--r--testing/metricbeat/metricbeat.yml105
1 files changed, 105 insertions, 0 deletions
diff --git a/testing/metricbeat/metricbeat.yml b/testing/metricbeat/metricbeat.yml
new file mode 100644
index 0000000000..657ea61828
--- /dev/null
+++ b/testing/metricbeat/metricbeat.yml
@@ -0,0 +1,105 @@
+###################### Metricbeat Configuration Example #######################
+
+# This file is an example configuration file highlighting only the most common
+# options. The metricbeat.full.yml file from the same directory contains all the
+# supported options with more comments. You can use it as a reference.
+#
+# You can find the full configuration reference here:
+# https://www.elastic.co/guide/en/beats/metricbeat/index.html
+
+#========================== Modules configuration ============================
+metricbeat.modules:
+
+#------------------------------- System Module -------------------------------
+- module: system
+ metricsets:
+ # CPU stats
+ - cpu
+
+ # System Load stats
+ - load
+
+ # Per CPU core stats
+ #- core
+
+ # IO stats
+ #- diskio
+
+ # Per filesystem stats
+ - filesystem
+
+ # File system summary stats
+ - fsstat
+
+ # Memory stats
+ - memory
+
+ # Network stats
+ - network
+
+ # Per process stats
+ - process
+
+ # Sockets (linux only)
+ #- socket
+ enabled: true
+ period: 10s
+ processes: ['.*']
+
+
+
+#================================ General =====================================
+
+# The name of the shipper that publishes the network data. It can be used to group
+# all the transactions sent by a single shipper in the web interface.
+#name:
+
+# The tags of the shipper are included in their own field with each
+# transaction published.
+#tags: ["service-X", "web-tier"]
+
+# Optional fields that you can specify to add additional information to the
+# output.
+#fields:
+# env: staging
+
+#================================ Outputs =====================================
+
+# Configure what outputs to use when sending the data collected by the beat.
+# Multiple outputs may be used.
+
+#-------------------------- Elasticsearch output ------------------------------
+output.elasticsearch:
+ # Array of hosts to connect to.
+ hosts: ["localhost:9200"]
+
+ # Optional protocol and basic auth credentials.
+ #protocol: "https"
+ #username: "elastic"
+ #password: "changeme"
+
+#----------------------------- Logstash output --------------------------------
+#output.logstash:
+ # The Logstash hosts
+ #hosts: ["localhost:5044"]
+
+ # Optional SSL. By default is off.
+ # List of root certificates for HTTPS server verifications
+ #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
+
+ # Certificate for SSL client authentication
+ #ssl.certificate: "/etc/pki/client/cert.pem"
+
+ # Client Certificate Key
+ #ssl.key: "/etc/pki/client/cert.key"
+
+#================================ Logging =====================================
+
+# Sets log level. The default log level is info.
+# Available log levels are: critical, error, warning, info, debug
+#logging.level: debug
+
+# At debug level, you can selectively enable logging only for some components.
+# To enable all selectors use ["*"]. Examples of other selectors are "beat",
+# "publish", "service".
+#logging.selectors: ["*"]