50499a589c
* Add Index Management README and quick testing steps for data streams. * Surface data stream health in Data Streams tab (table and detail panel). - Extract out DataHealth component for use in both Data Streams and Indices tabs. - Refactor detail panel to use data structure & algo to build component. - Refactor detail panel to use i18n.translate instead of FormattedMessage. * Render index template name and index lifecycle policy name in the detail panel. * Render storage size and max timestamp information in table and detail panel. - Add 'Include stats' switch. - Add humanizeTimeStamp service, localized to data streams.
22 lines
No EOL
363 B
Markdown
22 lines
No EOL
363 B
Markdown
# Index Management UI
|
|
|
|
## Data streams tab
|
|
|
|
### Quick steps for testing
|
|
|
|
Create a data stream using Console and you'll be able to view it in the UI:
|
|
|
|
```
|
|
# Configure template for creating a data stream
|
|
PUT _index_template/ds
|
|
{
|
|
"index_patterns": ["ds"],
|
|
"data_stream": {}
|
|
}
|
|
|
|
# Add a document to the data stream
|
|
POST ds/_doc
|
|
{
|
|
"@timestamp": "2020-01-27"
|
|
}
|
|
``` |