
Security News
New CNA Scorecard Tool Ranks CVE Data Quality Across the Ecosystem
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
github.com/SumoLogic/opentelemetry-collector-contrib/receiver/elasticsearchreceiver
This receiver queries the Elasticsearch node stats and cluster health endpoints in order to scrape metrics from a running elasticsearch cluster.
Supported pipeline types: metrics
:construction: This receiver is in BETA. Configuration fields and metric data model are subject to change.
This receiver supports Elasticsearch versions 7.9+
If Elasticsearch security features are enabled, you must have either the monitor
or manage
cluster privilege.
See the Elasticsearch docs for more information on authorization and Security privileges.
The following settings are optional:
metrics
(default: see DefaultMetricsSettings
here: Allows enabling and disabling specific metrics from being collected in this receiver.nodes
(default: ["_all"]
): Allows specifying node filters that define which nodes are scraped for node-level metrics. See the Elasticsearch documentation for allowed filters. If this option is left explicitly empty, then no node-level metrics will be scraped.skip_cluster_metrics
(default: false
): If true, cluster-level metrics will not be scraped.endpoint
(default = http://localhost:9200
): The base URL of the Elasticsearch API for the cluster to monitor.username
(no default): Specifies the username used to authenticate with Elasticsearch using basic auth. Must be specified if password is specified.password
(no default): Specifies the password used to authenticate with Elasticsearch using basic auth. Must be specified if username is specified.collection_interval
(default = 10s
): This receiver collects metrics on an interval. This value must be a string readable by Golang's time.ParseDuration. On larger clusters, the interval may need to be lengthened, as querying Elasticsearch for metrics will take longer on clusters with more nodes.receivers:
elasticsearch:
metrics:
elasticsearch.node.fs.disk.available:
enabled: false
nodes: ["_local"]
skip_cluster_metrics: true
endpoint: http://localhost:9200
username: otel
password: password
collection_interval: 10s
The full list of settings exposed for this receiver are documented here with detailed sample configurations here.
Details about the metrics produced by this receiver can be found in metadata.yaml
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.