Kibana "field" filter replacement?


(Jay Wilson) #1

Our sysadmins recently upgraded to ES 1.0.1, which has deprecated "field"
as a filter type and now our custom kibana dashboards are non-functional. I
have seen a few posts about this topic, but I haven't found any guidance as
to what needs to be in the dashboard file to replace the below snippet:

"filter": {
  "idQueue": [
    0,
    1,
    2
  ],
  "list": {
    "0": {
      "type": "field",
      "field": "record-type",
      "query": "queue-stats",
      "mandate": "must",
      "active": true,
      "alias": "",
      "id": 0
    }
  },
  "ids": [
    0
  ]
}

The ES deprecation page says to use queue_string, but it doesn't show how
set it up in a dashboard file.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cdae2081-9275-4e50-addf-b75f65efa9cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jay Wilson) #2

The replacement looks like

"services": {
"query": {
"idQueue": [
1,
2,
3,
4
],
"list": {
"0": {
"query": "record-type:"queue-stats"",
"alias": "",
"color": "#7EB26D",
"id": 0,
"pin": false,
"type": "lucene"
}
},
"ids": [
0
]
},
"filter": {
"idQueue": [
0,
0,
1,
2
],
"list": {},
"ids": []
}
},

On Wednesday, March 12, 2014 1:34:14 AM UTC-7, Jay Wilson wrote:

Our sysadmins recently upgraded to ES 1.0.1, which has deprecated "field"
as a filter type and now our custom kibana dashboards are non-functional. I
have seen a few posts about this topic, but I haven't found any guidance as
to what needs to be in the dashboard file to replace the below snippet:

"filter": {
  "idQueue": [
    0,
    1,
    2
  ],
  "list": {
    "0": {
      "type": "field",
      "field": "record-type",
      "query": "queue-stats",
      "mandate": "must",
      "active": true,
      "alias": "",
      "id": 0
    }
  },
  "ids": [
    0
  ]
}

The ES deprecation page says to use queue_string, but it doesn't show how
set it up in a dashboard file.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/26288f93-c2f8-407d-b7cf-fa408b3c7b51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3