Graylog2 / Graylog2/graylog2-server

IndexSet Templates UI

Open
#19,075 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## To dos
- [x] remove legacy default configuration
- [x] add index set template tab
- [x] https://github.com/Graylog2/graylog2-server/pull/19381
- [x] add action to set default template
- [x] add built-in label
- [x] add default label
- [ ] Adjust/add E2E tests
- [ ] Validate index set template form on submit in the backend (and display error per field)

## UI Description
- Index sets page has a new tab to manage Index Set templates
- On Index Set templates tab we show
- a data table listing the configuration profiles with
- template name
- template description
- indicate whether it's the default template
- indicate whether it's a prebuilt template
- actions for each entry (edit, copy, delete, set default)
- When copying a template it opens the edit view of that template
- A button to create a new profile
- clicking the button leads to a form to create a new index set template (easiest to reuse existing form?)
- The form is validated when clicking save/create
- When creating a new index set the flow incorporates selecting a template

## Screenshots for context
![Screenshot 2024-04-16 at 17 50 28](https://github.com/Graylog2/graylog2-server/assets/3169354/c6036794-1d93-45bd-bd44-33fb7f703a4c)
![Screenshot 2024-04-16 at 17 50 50](https://github.com/Graylog2/graylog2-server/assets/3169354/2194bee3-4c79-4e8c-8005-2cc86f397e0d)
![Screenshot 2024-04-16 at 17 51 13](https://github.com/Graylog2/graylog2-server/assets/3169354/c0dbb474-4b8c-4c94-829a-70b5ba4f6ff8)

## Restrictions:
- built-in templates cannot be selected as default
- built-in templates cannot be deleted
- default template cannot be deleted

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.