Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing host.os.type field mapping #232

Open
ebeahan opened this issue Feb 22, 2022 · 3 comments
Open

Missing host.os.type field mapping #232

ebeahan opened this issue Feb 22, 2022 · 3 comments

Comments

@ebeahan
Copy link
Member

ebeahan commented Feb 22, 2022

The endpoint is missing a field mapping for host.os.type.

This screenshot is from Elastic Agent 8.0.0 with endpoint enabled:

Screen Shot 2022-02-22 at 3 07 19 PM

A potential cause is a field not explicitly defined in the subset files: https://github.com/elastic/endpoint-package/blob/master/custom_subsets/elastic_endpoint/network/network.yaml#L24.

@ebeahan
Copy link
Member Author

ebeahan commented Feb 22, 2022

CC @randomuserid, who initially spotted the missing mapping.

@pzl
Copy link
Member

pzl commented Apr 5, 2022

I'm not sure the Endpoint sends any data with host.os.type. Here is an example of what Endpoint sends to those indices:

  "host" : {
    "hostname" : "security-win-1",
    "os" : {
      "Ext" : {
        "variant" : "Windows Server 2019 Datacenter"
      },
      "kernel" : "1809 (10.0.17763.2686)",
      "name" : "Windows",
      "family" : "windows",
      "type" : "windows",
      "version" : "1809 (10.0.17763.2686)",
      "platform" : "windows",
      "full" : "Windows Server 2019 Datacenter 1809 (10.0.17763.2686)"
    },
    "ip" : [
      "10.201.0.34",
      "fe80::4850:4f4f:4b53:8103",
      "127.0.0.1",
      "::1"
    ],
    "name" : "security-win-1",
    "id" : "bbea673e-eae6-4b03-8724-2183f79da331",
    "mac" : [
      "42:01:0a:c9:00:22"
    ],
    "architecture" : "x86_64"
  },

@ferullo
Copy link
Contributor

ferullo commented Apr 5, 2022

host.os.type is in that example document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants