英文:
Is it possible to change/ set filter value on kibana via query
问题
I got multiple visualizations that filtered on same field and value, value=x.
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"value.keyword": "x"
}
}
],
"minimum_should_match": 1
}
}
}
From time to time I need to change that value, I want to avoid entering each visualization and changing it, is it possible to automate the process ?
Is it possible to change/ set filter value via query ?
英文:
I got multiple visualizations that filtered on same field and value, value=x.
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"value.keyword": "x"
}
}
],
"minimum_should_match": 1
}
}
}
From time to time I need to change that value, I want to avoid entering each visualization and changing it, is it possible to automate the process ?
Is it possible to change/ set filter value via query ?
答案1
得分: 0
Found link to kibana API
using UPDATE option doing the job
$ curl -X PUT api/index_patterns/index-pattern/my-pattern
{
"attributes": {
"title": "some-other-pattern-*"
}
}
https://www.elastic.co/guide/en/kibana/7.16/saved-objects-api.html
英文:
Found link to kibana API
using UPDATE option doing the job
$ curl -X PUT api/index_patterns/index-pattern/my-pattern
{
"attributes": {
"title": "some-other-pattern-*"
}
}
https://www.elastic.co/guide/en/kibana/7.16/saved-objects-api.html
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论