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.

`service.node.role` should be `service.node.roles` and support multiple keywords

See original GitHub issue

I’m working on adding a node.roles configuration to Kibana, and discovered some discrepancies in the spec that was merged in https://github.com/elastic/ecs/pull/1916 and the use case we had envisioned for this in Kibana.

In our configuration, we want to allow nodes to have multiple roles. So for example, the following would be a valid value for the field:

node.roles: ['ui', 'background-tasks']

The PR that was merged only allows for a single item (not normalized as an array) and is also named service.node.role (singular).

Looking for advice on what to do here, since this was merged for 8.3. It is almost certainly too late to do anything about it, but unfortunately it means we won’t be able to adhere to this spec in Kibana based on the technical needs of our project.

Should we leave the field as-is and just not use it? Deprecate it? Something else?

FWIW, we won’t be actually introducing usage of this field in Kibana until at least 8.4.

cc @kobelb @matschaffer @ebeahan

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
kgellercommented, Jun 27, 2022

@lukeelmers @matschaffer After some discussion with the team this morning, we think that the path forward should be: 1) release 8.3 with node.role expecting a single value, 2) immediately deprecate that field for 8.3.1, and 3) add node.roles expecting the array for 8.4.

We are also going to add in a note into the 8.3 ECS release notes about expecting that field to be corrected.

Does this sound good to you both?

0reactions
kgellercommented, Jul 6, 2022

Deprecation notice and new field have been added.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node | Elasticsearch Guide [8.5] | Elastic
In a multi-tier deployment architecture, you use specialized data roles to assign data nodes to specific tiers: data_content , data_hot , data_warm ,...
Read more >
Node Roles - Informatica Documentation
The node role defines the purpose of the node. A node with the service role can run application services. A node with the...
Read more >
Workload Management through Node Roles - Tableau Help
Using node roles, you can configure where certain types of workloads are processed on your Tableau Server installation. The node roles features allows...
Read more >
Dremio Services
In cluster deployments, a given node may only have a single role: either a coordinator or an executor. Multiple roles per node are...
Read more >
Cisco Identity Services Engine Administrator Guide, Release 2.7
A Cisco ISE node can assume the Administration, Policy Service, or Monitoring personas. ... Support for Multiple Deployment Scenarios.
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