The documentation is not clear
period
The time interval (in seconds) when metrics are sent to the Elasticsearch cluster. A new snapshot of Filebeat metrics is generated and scheduled for publishing each period. The default value is 60 * time.Second.
What should be the value, i tried this in filebeat.yml
xpack.monitoring.elasticsearch.hosts: ["https://esa1-ir.com:9200", "https://esa2-ir.com:9200"]
xpack.monitoring.elasticsearch.username: "${XMON)"
xpack.monitoring.elasticsearch.password: "${XPAS}"
xpack.monitoring.elasticsearch.compression_level: "1"
xpack.monitoring.elasticsearch.bulk_max_size: "100"
xpack.monitoring.elasticsearch.period: "60s"
xpack.monitoring.elasticsearch.ssl.ca: "/etc/filebeat/certificates/root-ca.pem"
xpack.monitoring.elasticsearch.ssl.verification_mode: "none"
I get this error in elasticsearch
[2018-03-13T11:18:03,396][DEBUG][r.suppressed] path: /_xpack/monitoring/_bulk, params: {system_id=beats, system_api_version=6, interval=1m0s}
org.elasticsearch.ElasticsearchParseException: failed to parse [1m0s]
at org.elasticsearch.common.unit.TimeValue.parse(TimeValue.java:365) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.common.unit.TimeValue.parseTimeValue(TimeValue.java:335) ~[elasticsearch-6.2.2.jar:6.2.2]