Graylog2 / Graylog2/graylog2-server

Index Set Configuration Dialog uses two different inputs for time durations/intervals.

Open
#4,827 0 comments 0 reactions 0 assignees View on GitHub
bug triaged User Experience web
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior

Entering time durations/intervals is consistent throughout the product.

## Current Behavior

When configuring an index set with a time-based rotation strategy, two durations/intervals need to be configured. One is the "Field type refresh interval", the other is the "Rotation period". The first one is configured with a value input and a unit dropdown:
![screen shot 2018-06-08 at 10 27 31](https://user-images.githubusercontent.com/41929/41147392-9674bade-6b06-11e8-967a-8f7651eb023f.png)

The rotation period is configured using a plain input that expects the user to enter a ISO8601 definition for the duration, without providing the available time units:
![screen shot 2018-06-08 at 10 28 28](https://user-images.githubusercontent.com/41929/41147439-b89cc5b6-6b06-11e8-92de-e45e364ce473.png)

Having two different ways to configure the same type (on the same page) and forcing users to wrap around their head ISO8601 durations when all they want is configure the rotation period is suboptimal.

## Possible Solution

The inputs should be unified so entering durations/intervals is consistent.

## Steps to Reproduce (for bugs)

1.
2.
3.
4.

## Context

## Your Environment

* Graylog Version:
* Elasticsearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

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.