Cannot provide a name

Dear Elastic Team,

Seems like when giving a "name:" in heartbeat.yml file it doesn't work?

Can you describe the exact errors or behavior you're seeing? Can you share your config?

Dear Andrew,

Would first like to thank you for your swift reply.
I've attached a screenshot

More information:
I've enabled debug logging and e can confirm that the name is taking into account:

2/05/2019 08:48:42  "beat": {
22/05/2019 08:48:42    "name": "OPSFINAL",
22/05/2019 08:48:42    "hostname": "52f5d497ee4d",
22/05/2019 08:48:42    "version": "6.7.1"
22/05/2019 08:48:42  }

Dear Elastic Team,

Any updates on this one?

Hi Yasin,
Can you describe the exact error or behavior you are seeing?

Dear Dov,

I want to change the hostname in UPTIME.
I'm not receiving any error messages. In my logging i see it correct:
So the name "OPSFINAL" is not reflected in UPTIME HOST.

2/05/2019 08:48:42  "beat": {
22/05/2019 08:48:42    "name": "OPSFINAL",
22/05/2019 08:48:42    "hostname": "52f5d497ee4d",
22/05/2019 08:48:42    "version": "6.7.1"
22/05/2019 08:48:42  }

Isn't Host the url to check that your passing in your config?
I think your confusing the beat name with the url of what your checking.

It would be coming from one of the environment variable you use for interpolation in your config.

Dear Martin,

So what is the name in GENERAL section in metricbeat reference file doing then?
What does it do?

https://www.elastic.co/guide/en/beats/heartbeat/current/heartbeat-reference-yml.html

It fills the beat.name field in the event and is used to identify this instance of beat. Like beat.hostname, it relates to the beat itself or the machine running the beat, not what you're "checking".

Dear Martin,

Ah, ok. It's clear.

Would like to thank you very much for your quick reply

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.