public class IndexUtil extends Object
| Constructor and Description |
|---|
IndexUtil() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
replaceDateSuffix(String value,
Set<String> indices)
Take a set of indices and remove the date suffix
project.logging.ae5ca3cb-890e-11e7-b9c2-52540050d5ea.2017.09.06 becomes:
project.logging.ae5ca3cb-890e-11e7-b9c2-52540050d5ea.*
|
public Set<String> replaceDateSuffix(String value, Set<String> indices)
value - the value to use in place of the dateindices - the set of indices to processCopyright © 2015–2018 Red Hat. All rights reserved.