当前位置:网站首页>How to restore visualizations and dashboards after kibana rebuilds the index
How to restore visualizations and dashboards after kibana rebuilds the index
2022-06-23 08:28:00 【Handyman】
background
Because adjustment index, The reconstruction Index patterns{ Name the same } After that Visualizations and Dashboards And other views cannot be opened normally , Tips
Could not locate that index-pattern (id: xxxxxx), click here to re-create itThis is because index id Has been changed .
The reconstruction Index patterns How to keep ID Agreement , The view is not affected .
Before deleting , Record the old index pattern Of ID, Then create a new index pattern Use old index pattern Of ID
How to get index pattern Of ID
Method 1 Use dev tools
GET .kibana/_search
{
"query": {
"match": {
"index-pattern.title": "logs_template-*" #index name
}
}
}
Output :
"hits" : [
{
"_index" : ".kibana_1",
"_type" : "_doc",
"_id" : "index-pattern:09176830-f11c-11ec-853a-6f964690836d",
····
Method 2 see url
Kibana > Management > Index patterns > logs_template-* # edit index patterns
At this time, the browser's url:***/app/kibana#/management/kibana/index_patterns/09176830-f11c-11ec-853a-6f964690836d?_g=
How to use old index pattern Of ID
Kibana >Management > Index patterns > Create index pattern
Creating a new index patterns when The second step 【Show advanced options】
custome index pattern id fill id
This will protect Dashboards Not destroyed .
The reconstruction Index patterns ID change , How to restore the view .
The first thing to understand is
Discover、Visualizations、DashboardsSaved search All in :
Kibana >Management > Saved objects
therefore We just need to restore the relevantSaved ObjectsThat's all right.
Method 1 # For lower versions references There is ID
Kibana >Management > Saved objects > Corresponding index pattern > inspect
[
{
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern",
"id": "906f3b00-99e5-11e9-a677-f58a6457b295"
},
{
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"type": "index-pattern",
"id": "906f3b00-99e5-11e9-a677-f58a6457b295"
},
{
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"type": "index-pattern",
"id": "906f3b00-99e5-11e9-a677-f58a6457b295"
}
]
take id Change to a new one index pattern Of ID Save it
Method 2 references There is no ID
Kibana >Management > Saved objects > Select corresponding index pattern > export
- Edit export
export.ndjsonfile - Find and replace ID
- Use
Saved objectsOf import function , Select overlay
Method 1 is simple and convenient , Method 2 Import and export are required , But it can be modified in batch
Refer to the
ELK How to update Kibana Visualization & Dashboard Corresponding Index Pattern
边栏推荐
- Set接口和Set子实现类
- ArcLayoutView: 一个弧形布局的实现
- 4- draw ellipse, use timer
- Azure Active Directory brute force attack
- Regular expression use cases
- Deep learning ----- convolution (conv2d) bottom layer
- A record of "from scratch" in college student accounts
- 船长阿布的灵魂拷问
- Lightweight UI control library worth collecting
- 3-progressbar and secondary cropping
猜你喜欢

How to start Jupiter notebook in CONDA virtual environment

INT 104_ LEC 06

谈谈 @Autowired 的实现原理

Open source technology exchange batch stream integrated data synchronization engine Chunjun data restore DDL function module analysis

Multi-scale feature combination in target detection

Summary of communication mode and detailed explanation of I2C drive

为什么用生长型神经气体网络(GNG)?

What are the PCB characteristics inspection items?

开源软件、自由软件、Copyleft、CC都是啥,傻傻分不清楚?

Data assets are king, analyzing the relationship between enterprise digital transformation and data asset management
随机推荐
值得反复回味的81句高人高语
十多年前的入职第一天
How to migrate x86 architecture applications to arm architecture at low cost
Vulnhub | DC: 4 | [combat]
Vulnhub | DC: 3 |【实战】
MySQL brochure notes 5 InnoDB record storage structure
6-shining laser application of calayer
2-用线段构成图形、坐标转换
Regular expression use cases
Monitor the cache update of Eureka client
Openvino series 18 Real time object recognition through openvino and opencv (RTSP, USB video reading and video file reading)
Object.defineProperty() 和 数据代理
How to start Jupiter notebook in CONDA virtual environment
训练后的随机森林模型导出和加载
kibana 重建index后,如何恢复Visualizations和 Dashboards
USB peripheral driver - debug
Why do we say that the data service API is the standard configuration of the data midrange?
4-绘制椭圆、使用定时器
Implementation principle and source code analysis of ThreadPoolExecutor thread pool
vector的深度剖析及模拟实现