当前位置:网站首页>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
边栏推荐
- Use of tensorboard
- C Scrollview scroll up or scroll down
- PHP serialization and deserialization CTF
- Keng dad's "dedication blessing": red packet technology explosion in Alipay Spring Festival Gala
- Map interface and its sub implementation classes
- Monitor the cache update of Eureka client
- Focus! Ten minutes to master Newton convex optimization
- 【云计算】GFS思想优势以及架构
- Go 数据类型篇(二)之Go 支持的数据类型概述及布尔类型
- Integers and operators in go data types (3)
猜你喜欢

The most commonly used 5-stream ETL mode

Observer mode

Ad object of Active Directory

Which one is better for rendering renderings? 2022 latest measured data (IV)

PCB电路板特性检查项目都有哪些?

实战监听Eureka client的缓存更新

通信方式总结及I2C驱动详解

【云计算】GFS思想优势以及架构

船长阿布的灵魂拷问

Summary of communication mode and detailed explanation of I2C drive
随机推荐
USB peripheral driver - debug
Pyspark on HPC (Continued): reasonable partition processing and consolidated output of a single file
GTEST死亡测试
kernel log调试方法
史上最污技术解读,60 个 IT 术语我居然秒懂了......
The rtsp/onvif protocol video platform easynvr startup service reports an error "service not found". How to solve it?
实战监听Eureka client的缓存更新
aquatone工具 中的2個bug修複
RTSP/ONVIF协议视频平台EasyNVR启动服务报错“service not found”,该如何解决?
[paper notes] catching both gray and black swans: open set supervised analog detection*
最常用的5中流ETL模式
Jetpack family - ViewModel
Derivation and loading of the trained random forest model
PCB电路板特性检查项目都有哪些?
【云计算】GFS思想优势以及架构
Easycvr accesses the website through the domain name. How to solve the problem that the video cannot be viewed back?
Introduction to typescript and basic types of variable definitions
ThreadPoolExecutor线程池实现原理与源码解析
Hongmeng reads the resource file
Vulnhub | DC: 3 |【实战】