Hello,
I have installed the lastest metricbeat on a node version 6.6.1. Configuration has the minimal changes:
metricbeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
setup.template.settings:
index.number_of_shards: 1
index.codec: best_compression
tags: ["jetty", "consmers", "elasticsearch"]
fields_under_root: true
fields:
"@environment": BUILD
DC: NV
region: America
setup.kibana:
host: "127.0.0.1:5601"
output.elasticsearch:
hosts: ["127.0.0.1:9200"]
processors:
- add_host_metadata: ~
- add_cloud_metadata: ~
I did not changed anything in the modules.d
When starting I am instantly getting the following WARN and no info is sent to the elasticsearch:
2019-02-22T14:07:23.175Z WARN elasticsearch/client.go:523 Cannot index event publisher.Event{Content:beat.Event{Timestamp:time.Time{wall:0xbf141e668c4ca12f, ext:560096267587, loc:(*time.Location)(0x39e7c80)}, Meta:common.MapStr(nil), Fields:common.MapStr{"metricset":common.MapStr{"name":"process", "module":"system", "rtt":32245}, "@environment":"BUILD", "meta":common.MapStr{"cloud":common.MapStr{"instance_id":"i-02f3014749beb70b9", "machine_type":"m5.large", "region":"us-east-1", "availability_zone":"us-east-1c", "provider":"ec2"}}, "beat":common.MapStr{"hostname":"BLD-VMNVWEB01-1c", "version":"6.6.1", "name":"BLD-VMNVWEB01-1c"}, "host":common.MapStr{"name":"BLD-VMNVWEB01-1c", "id":"78da6ebc03ef43c9a58283218200c997", "containerized":false, "architecture":"x86_64", "os":common.MapStr{"platform":"ubuntu", "version":"16.04.5 LTS (Xenial Xerus)", "family":"debian", "name":"Ubuntu", "codename":"xenial"}}, "event":common.MapStr{"dataset":"system.process", "duration":32245419}, "system":common.MapStr{"process":common.MapStr{"state":"sleeping", "cpu":common.MapStr{"start_time":common.Time{wall:0x0, ext:63684527610, loc:(*time.Location)(nil)}, "total":common.MapStr{"norm":common.MapStr{"pct":0}, "value":321660, "pct":0}}, "ppid":1, "memory":common.MapStr{"size":0x368c6000, "rss":common.MapStr{"bytes":0x27ed3000, "pct":0.0831}, "share":0x1051000}, "name":"clamd", "cmdline":"/usr/sbin/clamd --foreground=true", "cwd":"/", "pid":1279, "fd":common.MapStr{"open":0xa, "limit":common.MapStr{"soft":0x400, "hard":0x1000}}, "cgroup":common.MapStr{"id":"clamav-daemon.service", "path":"/system.slice/clamav-daemon.service", "cpu":common.MapStr{"rt":common.MapStr{"period":common.MapStr{"us":0x0}, "runtime":common.MapStr{"us":0x0}}, "stats":common.MapStr{"periods":0x0, "throttled":common.MapStr{"periods":0x0, "ns":0x0}}, "id":"clamav-daemon.service", "path":"/system.slice/clamav-daemon.service", "cfs":common.MapStr{"period":common.MapStr{"us":0x186a0}, "quota":common.MapStr{"us":0x0}, "shares":0x400}}, "cpuacct":common.MapStr{"total":common.MapStr{"ns":0x4ae5131ebf}, "stats":common.MapStr{"user":common.MapStr{"ns":0x490e263e80}, "system":common.MapStr{"ns":0x2579f6b00}}, "percpu":common.MapStr{"2":0x2643635689, "1":0x24a1afc836}, "id":"clamav-daemon.service", "path":"/system.slice/clamav-daemon.service"}, "memory":common.MapStr{"stats":common.MapStr{"page_faults":0x362083, "rss":common.MapStr{"bytes":0x26eb0000}, "major_page_faults":0x88a, "pages_out":0x356d4c, "mapped_file":common.MapStr{"bytes":0x968000}, "pages_in":0x37e565, "cache":common.MapStr{"bytes":0x969000}, "inactive_anon":common.MapStr{"bytes":0x0}, "hierarchical_memory_limit":common.MapStr{"bytes":0x7ffffffffffff000}, "active_anon":common.MapStr{"bytes":0x26eb0000}, "swap":common.MapStr{"bytes":0x0}, "hierarchical_memsw_limit":common.MapStr{"bytes":0x0}, "active_file":common.MapStr{"bytes":0x508000}, "rss_huge":common.MapStr{"bytes":0x0}, "unevictable":common.MapStr{"bytes":0x0}, "inactive_file":common.MapStr{"bytes":0x461000}}, "id":"clamav-daemon.service", "path":"/system.slice/clamav-daemon.service", "mem":common.MapStr{"failures":0x0, "limit":common.MapStr{"bytes":0x7ffffffffffff000}, "usage":common.MapStr{"bytes":0x27819000, "max":common.MapStr{"bytes":0x373cb000}}}, "memsw":common.MapStr{"usage":common.MapStr{"bytes":0x0, "max":common.MapStr{"bytes":0x0}}, "failures":0x0, "limit":common.MapStr{"bytes":0x0}}, "kmem":common.MapStr{"failures":0x0, "limit":common.MapStr{"bytes":0x7ffffffffffff000}, "usage":common.MapStr{"bytes":0x0, "max":common.MapStr{"bytes":0x0}}}, "kmem_tcp":common.MapStr{"failures":0x0, "limit":common.MapStr{"bytes":0x7ffffffffffff000}, "usage":common.MapStr{"bytes":0x0, "max":common.MapStr{"bytes":0x0}}}}, "blkio":common.MapStr{"total":common.MapStr{"bytes":0x1e3b1000, "ios":0x16d4}, "id":"clamav-daemon.service", "path":"/system.slice/clamav-daemon.service"}}, "pgid":1279, "username":"clamav"}}, "tags":[]string{"jetty", "consmers", "elasticsearch"}, "DC":"NV", "region":"America"}, Private:interface {}(nil)}, Flags:0x0} (status=400): {"type":"mapper_parsing_exception","reason":"Failed to parse mapping [doc]: Mapping definition for [system] has unsupported parameters: [properties : {ticks={type=long}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [system] has unsupported parameters: [properties : {ticks={type=long}}]"}}
Any idea how to fix it?