Hello,
I have configured MetricBeats in one server but the index name is the same.
I have tried to change the config but the indexname is the same always and in the logs, I can see this message.
[index-management] idxmgmt/std.go:178 Set output.elasticsearch.index to
'metricbeat-7.3.1' as ILM is enabled.
this is the whole Log.
2019-09-09T11:05:46.353-0400 INFO instance/beat.go:606 Home path:
[C:\Program Files\Elastic\metricbeat] Config path: [C:\Program Files\Elastic\metricbeat] Data path: [C:\Program Files\Elastic\metricbeat\data] Logs path: [C:\Program Files\Elastic\metricbeat\logs]
2019-09-09T11:05:46.357-0400 INFO instance/beat.go:614 Beat ID: 01963db3-4ca4-4506-86be-8dfc73959db8
2019-09-09T11:05:46.362-0400 INFO [beat] instance/beat.go:902 Beat info {"system_info": {"beat": {"path": {"config": "C:\\Program Files\\Elastic\\metricbeat", "data": "C:\\Program Files\\Elastic\\metricbeat\\data", "home": "C:\\Program Files\\Elastic\\metricbeat", "logs": "C:\\Program Files\\Elastic\\metricbeat\\logs"}, "type": "metricbeat", "uuid": "01963db3-4ca4-4506-86be-8dfc73959db8"}}}
2019-09-09T11:05:46.362-0400 INFO [beat] instance/beat.go:911 Build info {"system_info": {"build": {"commit": "a4be71b90ce3e3b8213b616adfcd9e455513da45", "libbeat": "7.3.1", "time": "2019-08-19T19:33:03.000Z", "version": "7.3.1"}}}
2019-09-09T11:05:46.362-0400 INFO [beat] instance/beat.go:914 Go runtime info {"system_info": {"go": {"os":"windows","arch":"amd64","max_procs":4,"version":"go1.12.4"}}}
2019-09-09T11:05:46.366-0400 INFO [beat] instance/beat.go:918 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2019-09-09T09:36:30.65-04:00","name":"PALACE-DEV","ip":["192.168.6.25/24","::1/128","127.0.0.1/8","fe80::5efe:c0a8:619/128"],"kernel_version":"6.3.9600.18821 (winblue_ltsb.170914-0600)","mac":["00:50:56:a8:5e:d9","00:00:00:00:00:00:00:e0"],"os":{"family":"windows","platform":"windows","name":"Windows Server 2012 R2 Standard","version":"6.3","major":3,"minor":0,"patch":0,"build":"9600.18822"},"timezone":"EDT","timezone_offset_sec":-14400,"id":"2e35e795-024f-46dd-918b-9ef78a5cec7a"}}}
2019-09-09T11:05:46.367-0400 INFO [beat] instance/beat.go:947 Process info {"system_info": {"process": {"cwd": "C:\\Program Files\\Elastic\\metricbeat", "exe": "C:\\Program Files\\Elastic\\metricbeat\\metricbeat.exe", "name": "metricbeat.exe", "pid": 1508, "ppid": 3856, "start_time": "2019-09-09T11:05:45.384-0400"}}}
2019-09-09T11:05:46.367-0400 INFO instance/beat.go:292 Setup Beat: metricbeat; Version: 7.3.1
2019-09-09T11:05:46.367-0400 INFO [index-management] idxmgmt/std.go:178 Set output.elasticsearch.index to 'metricbeat-7.3.1' as ILM is enabled.
2019-09-09T11:05:46.368-0400 INFO elasticsearch/client.go:170 Elasticsearch url: http://sc-elk-01:9200/
2019-09-09T11:05:46.368-0400 INFO [publisher] pipeline/module.go:97 Beat name: PALACE-DEV
2019-09-09T11:05:46.369-0400 INFO instance/beat.go:421 metricbeat start running.
2019-09-09T11:05:46.369-0400 INFO [monitoring] log/log.go:118 Starting metrics logging every 30s
2019-09-09T11:05:46.386-0400 INFO helper/privileges_windows.go:79 Metricbeat process and system info: {"OSVersion":{"Major":6,"Minor":2,"Build":9200},"Arch":"amd64","NumCPU":4,"User":{"SID":"S-1-5-21-3959451532-4233129821-4082901428-8266","Account":"sergioc","Domain":"THEPALACEUS","Type":1},"ProcessPrivs":{"SeBackupPrivilege":{"enabled":false},"SeChangeNotifyPrivilege":{"enabled_by_default":true,"enabled":true},"SeCreateGlobalPrivilege":{"enabled_by_default":true,"enabled":true},"SeCreatePagefilePrivilege":{"enabled":false},"SeCreateSymbolicLinkPrivilege":{"enabled":false},"SeDebugPrivilege":{"enabled":true},"SeImpersonatePrivilege":{"enabled_by_default":true,"enabled":true},"SeIncreaseBasePriorityPrivilege":{"enabled":false},"SeIncreaseQuotaPrivilege":{"enabled":false},"SeIncreaseWorkingSetPrivilege":{"enabled":false},"SeLoadDriverPrivilege":{"enabled":false},"SeManageVolumePrivilege":{"enabled":false},"SeProfileSingleProcessPrivilege":{"enabled":false},"SeRemoteShutdownPrivilege":{"enabled":false},"SeRestorePrivilege":{"enabled":false},"SeSecurityPrivilege":{"enabled":false},"SeShutdownPrivilege":{"enabled":false},"SeSystemEnvironmentPrivilege":{"enabled":false},"SeSystemProfilePrivilege":{"enabled":false},"SeSystemtimePrivilege":{"enabled":false},"SeTakeOwnershipPrivilege":{"enabled":false},"SeTimeZonePrivilege":{"enabled":false},"SeUndockPrivilege":{"enabled":false}}}
2019-09-09T11:05:46.386-0400 INFO helper/privileges_windows.go:87 SeDebugPrivilege is enabled. SeDebugPrivilege=(Enabled)
2019-09-09T11:05:46.386-0400 INFO cfgfile/reload.go:171 Config reloader started
2019-09-09T11:05:46.388-0400 INFO cfgfile/reload.go:226 Loading of config files completed.
if you see the index-management happens before the config is loaded.
not sure if this could be the issue.
this is my output config in MetricBeat.yml
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["http://sc-elk-01:9200/"]
output.elasticsearch.index: "Palace-Dev-%{[agent.version]}-%{+yyyy.MM.dd}"
setup.template.name: "Palace-Dev"
setup.template.pattern: "Palace-Dev-*"
setup.dashboards.index: "Palace-Dev-*"
Thank you in advance.