Clarify use of hostname, subdomain, domain in source/destination
See original GitHub issueIt’s not clear to me how to populate the hostname
, subdomain
, and domain
fields of source
/ destination
. More detailed descriptions of each field are needed with examples.
It would probably be helpful to establish some terminology that could be used in clarifying the descriptions.
Terms:
- FQDN: fully qualified domain name
- TLD: top level domain (e.g.
.com
,.net
,.bmw
,.us
) [list of TLDs] - eTLD: effective top level domain (e.g.
.com
,.co.uk
andpvt.k12.wy.us
) [these get determined with the help of the public suffix list] - eTLD+1: effective top level domain plus one level (e.g.
example.com
,example.co.uk
) - SLD: second level domain (e.g.
co
is the SLD ofwww.example.co.uk
)
Examples showing the mappings of these FQDNs to ECS would probably be sufficient to clarify the topic for me.
example.com
www.example.com
www.example.co.uk
Logstash has a TLD filter that uses similar field names, possibly(?) with different meanings.
Issue Analytics
- State:
- Created 5 years ago
- Comments:33 (33 by maintainers)
Top Results From Across the Web
Difference between Subdomain, hostname, host and www in a ...
Basically, "domain" and "subdomain" are the same entities, except that the "sub" prefix indicates a relationship between two domains.
Read more >What is the difference between a URL, Domain, Subdomain ...
The abbreviation “URL” is short for “Uniform Resource Locator” and is commonly used to refer to a website or internet-address, while the actually...
Read more >Domain vs Host Name vs FQDN Implementation - OSSEM
This guide will show you how to label FQDNs, Domains, and Hostnames (for both source/destination) commonly found in logs for Endpoint, DNS, HTTP,...
Read more >What Are Subdomains? A Comprehensive Guide For Beginners
To better understand what are subdomains, this article will explain everything you need to know about them. You'll learn how they differ from...
Read more >What are Subdomains? (Definition and Examples)
Here's the definition of a Subdomain and the different use-cases of a subdomain ... You can create multiple subdomains or child domains on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m more thinking DNS related stuff should go into it’s own prefix: https://github.com/elastic/ecs/issues/10
@mbudge Thanks for the input! By the way this is a very old issue. We didn’t end up going with
hostname
to describe domains in ECS.parent_domain
sounds like a good option. I think there can be multiple levels of parent domains, however, correct? For example the parent domain ofsub2.sub1.example.com
would besub1.example.com
, correct?With
registered_domain
, we’re going for the very top parent, before getting to the TLD. It’s not a perfect name, but it’s the one that fit the best we found. It’s already in the DNS field set, and will be added soon to other places that have domains in ECS.