graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Move column definitions for data nodes table to the backend.

Open linuspahl opened this issue 9 months ago • 0 comments

Description

Currently the column definitions for the data nodes table on /system/datanodes are hard coded in the UI.

  { id: 'hostname', title: 'Name', sortable: true },
  { id: 'transport_address', title: 'Transport address' },
  { id: 'status', title: 'Status', sortable: false },
  { id: 'cert_valid_until', title: 'Certificate valid until', sortable: false },

Usually these information come from the backend, in this case from the following request: /api/system/cluster/datanodes

The response already contains one column, which also exists in the collection above.

image

Ideally we remove the hard coded columns in the UI and generate these columns definition in the backend.

  • Graylog Version: 6.0

linuspahl avatar May 24 '24 09:05 linuspahl