question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `agent.hostname`

See original GitHub issue

In cases where an agent is not running on a host generating an event (e.g. APM server), it’s useful to track where the agent is running without touching host.hostname.

Beats has already replaced beat.hostname with agent.hostname here https://github.com/elastic/beats/pull/8873.

So the relationship between the two fields is:

  • host.hostname should be populated with the hostname of the node generating the event
  • agent.hostname should be populated with the hostname of the node where the agent is running, if different than the source of the event.
    • Question: should we always populate it, even if it’s the exact same value?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ave19commented, Nov 20, 2018

I think one of my analysts just had an aneurism. 😃

0reactions
ebeahancommented, Jul 20, 2021

Per reasoning laid out in https://github.com/elastic/ecs/issues/178#issuecomment-512586064, not moving forward adding agent.hostname.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add, rename, and remove hosts - New Relic Documentation
You can add and remove hosts for your applications. You cannot rename an existing host, but you can create applications named after a...
Read more >
EM 13c, 12c : Agent Post-install Configuration Changes ...
This document explains EM 12c or 13c agent post install configuration changes, like Agent host name / IP address / redirect to another...
Read more >
Agent switches to set Hostname - SolarWinds Success Center
Connect to a machine reporting duplicate entries. · Navigate to C:\Windows\SysWOW64\ContegoSPOP. · Edit the spop.conf file. · Add the switch you ...
Read more >
host.name (alias of beat.name) used instead of agent ...
I am using beats to forward metrics and logs to Elasticsearch. In the configuration of each beat I have setup its name manually...
Read more >
ITM Nuggets:How to truly change the hostname of an agent ...
Body · 1) Edit the <ITMHOME>\TMAITM6\kxxcma.ini file to include: · 2) Add the parameters if they are not present and then change the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found