Import Vizu & Dashboard, filters not visibles


(Fred) #1

Hello,

On Kibana Version: 5.6.10, I have a problem.
When I export vizu and dashboard on which filters have been applied using the + or - on the right, and I re-import them on another Kibana, these filters are still active, but invisible!
There are no more green or red tiles at the top of the page.

This is a Bug of my version?

Thank you !


(Tyler Smalley) #2

The filters are not part of the export, but rather a part of the URL. Do you still see this if you navigate through the UI to the dashboard?


(Fred) #3

Hello,

Before export/import, filter OFF :

http://localhost:5601/app/kibana#/dashboard/AWYPlTlRx9zbmBpBJe-L?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-1M%2FM,mode:quick,to:now-1M%2FM))&_a=(description:'',filters:!(),options:(darkTheme:!t),panels:!((col:1,id:AWLhzm3-WbyQqNQzmhMY,panelIndex:1,row:1,size_x:6,size_y:3,type:visualization)),query:(match_all:()),timeRestore:!t,title:test,uiState:(),viewMode:view)

Before export/import, filter Web ON, filters appears on the screen :

http://localhost:5601/app/kibana#/dashboard/AWYPlTlRx9zbmBpBJe-L?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-1M%2FM,mode:quick,to:now-1M%2FM))&_a=(description:'',filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:AWSniRZf3Hh0ycWFkyxx,key:Univers,negate:!f,type:phrase,value:Web),query:(match:(Univers:(query:Web,type:phrase))))),options:(darkTheme:!t),panels:!((col:1,id:AWLhzm3-WbyQqNQzmhMY,panelIndex:1,row:1,size_x:6,size_y:3,type:visualization)),query:(match_all:()),timeRestore:!t,title:test,uiState:(),viewMode:view)

After import/export with filter Web ON, filters NOT appears on the screen, so impossible to desable filter :

https://xxxxxxxxxxxx.xxxxx.com/app/kibana#/dashboard/AWYPlTlRx9zbmBpBJe-L?_g=(filters:!(),refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-1M%2FM,mode:quick,to:now-1M%2FM))&_a=(description:'',filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:AWSniRZf3Hh0ycWFkyxx,key:Univers,negate:!f,type:phrase,value:Web),query:(match:(Univers:(query:Web,type:phrase))))),options:(darkTheme:!t),panels:!((col:1,id:AWLhzm3-WbyQqNQzmhMY,panelIndex:1,row:1,size_x:6,size_y:3,type:visualization)),query:(match_all:()),timeRestore:!t,title:test,uiState:(),viewMode:view)


(Fred) #4

filters:!(), appers after import, but if i delete it, it's the same result.


(Fred) #5

i compared the2 json, it's the same :

export.json on first Kibana:

[
  {
    "_id": "AWYPlTlRx9zbmBpBJe-L",
    "_type": "dashboard",
    "_source": {
      "title": "test",
      "hits": 0,
      "description": "",
      "panelsJSON": "[{\"size_x\":6,\"size_y\":3,\"panelIndex\":1,\"type\":\"visualization\",\"id\":\"AWLhzm3-WbyQqNQzmhMY\",\"col\":1,\"row\":1}]",
      "optionsJSON": "{\"darkTheme\":true}",
      "uiStateJSON": "{}",
      "version": 1,
      "timeRestore": true,
      "timeTo": "now-1M/M",
      "timeFrom": "now-1M/M",
      "refreshInterval": {
        "display": "Off",
        "pause": false,
        "value": 0
      },
      "kibanaSavedObjectMeta": {
        "searchSourceJSON": "{\"filter\":[{\"meta\":{\"index\":\"AWSniRZf3Hh0ycWFkyxx\",\"type\":\"phrase\",\"key\":\"Univers\",\"value\":\"Web\",\"disabled\":false,\"negate\":false,\"alias\":null},\"query\":{\"match\":{\"Univers\":{\"query\":\"Web\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}},{\"query\":{\"match_all\":{}}}],\"highlightAll\":true,\"version\":true}"
      }
    }
  }
]

export.json on second Kibana after import:

[
  {
    "_id": "AWYPlTlRx9zbmBpBJe-L",
    "_type": "dashboard",
    "_source": {
      "title": "test",
      "hits": 0,
      "description": "",
      "panelsJSON": "[{\"size_x\":6,\"size_y\":3,\"panelIndex\":1,\"type\":\"visualization\",\"id\":\"AWLhzm3-WbyQqNQzmhMY\",\"col\":1,\"row\":1}]",
      "optionsJSON": "{\"darkTheme\":true}",
      "uiStateJSON": "{}",
      "version": 1,
      "timeRestore": true,
      "timeTo": "now-1M/M",
      "timeFrom": "now-1M/M",
      "refreshInterval": {
        "display": "Off",
        "pause": false,
        "value": 0
      },
      "kibanaSavedObjectMeta": {
        "searchSourceJSON": "{\"filter\":[{\"meta\":{\"index\":\"AWSniRZf3Hh0ycWFkyxx\",\"type\":\"phrase\",\"key\":\"Univers\",\"value\":\"Web\",\"disabled\":false,\"negate\":false,\"alias\":null},\"query\":{\"match\":{\"Univers\":{\"query\":\"Web\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}},{\"query\":{\"match_all\":{}}}],\"highlightAll\":true,\"version\":true}"
      }
    }
  }
]

Import Visu et Dashboard, filtres invisibles
(Fred) #6

up please :slight_smile:


(Fred) #7

up :slight_smile:


(Fred) #8

nobody can help me ? :frowning:


(Fred) #9

up !


(system) #10

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.