Skip to content

Instantly share code, notes, and snippets.

@cbadenes
Last active March 27, 2020 15:08
Show Gist options
  • Save cbadenes/4f726911fd9908ffc3a46837b15d8011 to your computer and use it in GitHub Desktop.
Save cbadenes/4f726911fd9908ffc3a46837b15d8011 to your computer and use it in GitHub Desktop.
{
"title": "librAIry CORD19 Dashboard",
"services": {
"query": {
"idQueue": [
1,
2,
3,
4
],
"list": {
"0": {
"query": "*:*",
"alias": "",
"color": "#7EB26D",
"id": 0,
"pin": false,
"type": "lucene"
}
},
"ids": [
0
]
},
"filter": {
"idQueue": [
0,
1,
2
],
"list": {},
"ids": []
}
},
"rows": [
{
"title": "Query",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 6,
"editable": true,
"group": [
"default"
],
"type": "query",
"label": "Search",
"history": [
"*:*",
"labels_t:http",
"labels_t:-http",
"-labels_t:http",
"labels_t:Company AND source_s:train",
"labels_t:Company AND source_s:test",
"labels_t:1309",
"labels_t:software_development",
"labels_t:_consulting",
"labels_s:_consulting"
],
"remember": 10,
"pinned": true,
"query": "*",
"title": "Search",
"spyable": true,
"def_type": ""
},
{
"span": 3,
"editable": true,
"type": "hits",
"loadingEditor": false,
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&stats=true&stats.field=id&wt=json&rows=0\n",
"basic_query": "",
"custom": ""
},
"style": {
"font-size": "14pt"
},
"arrangement": "horizontal",
"chart": "total",
"counter_pos": "above",
"donut": false,
"tilt": false,
"labels": true,
"spyable": true,
"title": "Total Hits",
"show_queries": true,
"metrics": [
{
"type": "count",
"field": "id",
"decimalDigits": 0,
"label": "",
"value": "28429"
}
],
"refresh": {
"enable": false,
"interval": 2
}
},
{
"span": 3,
"editable": true,
"type": "hits",
"loadingEditor": false,
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&stats=true&stats.field=size_i&stats.field=size_i&stats.field=size_i&stats.field=size_i&wt=json&rows=0\n",
"basic_query": "",
"custom": ""
},
"style": {
"font-size": "10pt"
},
"arrangement": "horizontal",
"chart": "total",
"counter_pos": "above",
"donut": false,
"tilt": false,
"labels": true,
"spyable": true,
"show_queries": true,
"metrics": [
{
"type": "min",
"field": "size_i",
"decimalDigits": 2,
"label": "min",
"value": "3.00"
},
{
"type": "mean",
"field": "size_i",
"decimalDigits": 2,
"label": "mean",
"value": "1008.85"
},
{
"type": "max",
"field": "size_i",
"decimalDigits": 2,
"label": "max",
"value": "5000.00"
},
{
"type": "stddev",
"field": "size_i",
"decimalDigits": 2,
"label": "stddev",
"value": "1200.99"
}
],
"refresh": {
"enable": false,
"interval": 2
},
"title": "Size"
}
]
},
{
"title": "Filter",
"height": "150px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"spyable": true,
"group": [
"default"
],
"type": "filtering"
}
]
},
{
"title": "Sources",
"height": "300px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 6,
"editable": true,
"type": "bar",
"loadingEditor": false,
"queries": {
"mode": "all",
"query": "q=*%3A*&wt=json&rows=0&facet=true&facet.field=source_s&facet.limit=20",
"custom": "",
"ids": [
0
]
},
"field": "source_s",
"size": 20,
"spyable": true,
"show_queries": true,
"title": "Source"
},
{
"span": 6,
"editable": true,
"type": "tagcloud",
"loadingEditor": false,
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&wt=json&rows=0&facet=true&facet.field=labels4_t&facet.limit=100",
"custom": ""
},
"field": "labels4_t",
"size": 100,
"alignment": "vertical and horizontal",
"fontScale": 1,
"ignoreStopWords": false,
"spyable": true,
"show_queries": true,
"title": "ATC-GROUPS"
}
]
},
{
"title": "Charts",
"height": "550px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "terms",
"loadingEditor": false,
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&wt=json&facet=true&facet.field=labels5_t&facet.limit=500&facet.missing=true&f.labels5_t.facet.sort=count",
"custom": ""
},
"mode": "count",
"field": "labels5_t",
"stats_field": "",
"decimal_points": 0,
"exclude": [
""
],
"missing": false,
"other": false,
"size": 500,
"sortBy": "count",
"order": "descending",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"logAxis": false,
"arrangement": "horizontal",
"chart": "bar",
"counter_pos": "above",
"exportSize": 10000,
"lastColor": "",
"spyable": true,
"show_queries": true,
"chartColors": [
"#7EB26D",
"#EAB839",
"#6ED0E0",
"#EF843C",
"#E24D42",
"#1F78C1",
"#BA43A9",
"#705DA0",
"#508642",
"#CCA300",
"#447EBC",
"#C15C17",
"#890F02",
"#0A437C",
"#6D1F62",
"#584477",
"#B7DBAB",
"#F4D598",
"#70DBED",
"#F9BA8F",
"#F29191",
"#82B5D8",
"#E5A8E2",
"#AEA2E0",
"#629E51",
"#E5AC0E",
"#64B0C8",
"#E0752D",
"#BF1B00",
"#0A50A1",
"#962D82",
"#614D93",
"#9AC48A",
"#F2C96D",
"#65C5DB",
"#F9934E",
"#EA6460",
"#5195CE",
"#D683CE",
"#806EB7",
"#3F6833",
"#967302",
"#2F575E",
"#99440A",
"#58140C",
"#052B51",
"#511749",
"#3F2B5B",
"#E0F9D7",
"#FCEACA",
"#CFFAFF",
"#F9E2D2",
"#FCE2DE",
"#BADFF4",
"#F9D9F9",
"#DEDAF7"
],
"refresh": {
"enable": false,
"interval": 2
},
"title": "ATC-Codes"
}
]
},
{
"title": "List",
"height": "500px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "terms",
"loadingEditor": false,
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&wt=json&facet=true&facet.field=annot_cliner_treatments_t&facet.limit=200&facet.missing=true&f.annot_cliner_treatments_t.facet.sort=count",
"custom": ""
},
"mode": "count",
"field": "annot_cliner_treatments_t",
"stats_field": "",
"decimal_points": 0,
"exclude": [],
"missing": false,
"other": false,
"size": 200,
"sortBy": "count",
"order": "descending",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"logAxis": false,
"arrangement": "horizontal",
"chart": "bar",
"counter_pos": "above",
"exportSize": 10000,
"lastColor": "",
"spyable": true,
"show_queries": true,
"chartColors": [
"#7EB26D",
"#EAB839",
"#6ED0E0",
"#EF843C",
"#E24D42",
"#1F78C1",
"#BA43A9",
"#705DA0",
"#508642",
"#CCA300",
"#447EBC",
"#C15C17",
"#890F02",
"#0A437C",
"#6D1F62",
"#584477",
"#B7DBAB",
"#F4D598",
"#70DBED",
"#F9BA8F",
"#F29191",
"#82B5D8",
"#E5A8E2",
"#AEA2E0",
"#629E51",
"#E5AC0E",
"#64B0C8",
"#E0752D",
"#BF1B00",
"#0A50A1",
"#962D82",
"#614D93",
"#9AC48A",
"#F2C96D",
"#65C5DB",
"#F9934E",
"#EA6460",
"#5195CE",
"#D683CE",
"#806EB7",
"#3F6833",
"#967302",
"#2F575E",
"#99440A",
"#58140C",
"#052B51",
"#511749",
"#3F2B5B",
"#E0F9D7",
"#FCEACA",
"#CFFAFF",
"#F9E2D2",
"#FCE2DE",
"#BADFF4",
"#F9D9F9",
"#DEDAF7"
],
"refresh": {
"enable": false,
"interval": 2
},
"title": "TREATMENT",
"useColorFromField": false
}
]
},
{
"title": "Labels",
"height": "500px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "terms",
"loadingEditor": false,
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&wt=json&facet=true&facet.field=annot_cliner_problems_t&facet.limit=200&facet.missing=true&f.annot_cliner_problems_t.facet.sort=count",
"custom": ""
},
"mode": "count",
"field": "annot_cliner_problems_t",
"stats_field": "",
"decimal_points": 0,
"exclude": [],
"missing": false,
"other": false,
"size": 200,
"sortBy": "count",
"order": "descending",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"logAxis": false,
"arrangement": "horizontal",
"chart": "bar",
"counter_pos": "above",
"exportSize": 10000,
"lastColor": "",
"spyable": true,
"show_queries": true,
"chartColors": [
"#7EB26D",
"#EAB839",
"#6ED0E0",
"#EF843C",
"#E24D42",
"#1F78C1",
"#BA43A9",
"#705DA0",
"#508642",
"#CCA300",
"#447EBC",
"#C15C17",
"#890F02",
"#0A437C",
"#6D1F62",
"#584477",
"#B7DBAB",
"#F4D598",
"#70DBED",
"#F9BA8F",
"#F29191",
"#82B5D8",
"#E5A8E2",
"#AEA2E0",
"#629E51",
"#E5AC0E",
"#64B0C8",
"#E0752D",
"#BF1B00",
"#0A50A1",
"#962D82",
"#614D93",
"#9AC48A",
"#F2C96D",
"#65C5DB",
"#F9934E",
"#EA6460",
"#5195CE",
"#D683CE",
"#806EB7",
"#3F6833",
"#967302",
"#2F575E",
"#99440A",
"#58140C",
"#052B51",
"#511749",
"#3F2B5B",
"#E0F9D7",
"#FCEACA",
"#CFFAFF",
"#F9E2D2",
"#FCE2DE",
"#BADFF4",
"#F9D9F9",
"#DEDAF7"
],
"refresh": {
"enable": false,
"interval": 2
},
"title": "PROBLEMS"
}
]
},
{
"title": "Tests",
"height": "550px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "terms",
"loadingEditor": false,
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&wt=json&facet=true&facet.field=annot_cliner_tests_t&facet.limit=200&facet.missing=true&f.annot_cliner_tests_t.facet.sort=count",
"custom": ""
},
"mode": "count",
"field": "annot_cliner_tests_t",
"stats_field": "",
"decimal_points": 0,
"exclude": [],
"missing": false,
"other": false,
"size": 200,
"sortBy": "count",
"order": "descending",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"logAxis": false,
"arrangement": "horizontal",
"chart": "bar",
"counter_pos": "above",
"exportSize": 10000,
"lastColor": "",
"spyable": true,
"show_queries": true,
"chartColors": [
"#7EB26D",
"#EAB839",
"#6ED0E0",
"#EF843C",
"#E24D42",
"#1F78C1",
"#BA43A9",
"#705DA0",
"#508642",
"#CCA300",
"#447EBC",
"#C15C17",
"#890F02",
"#0A437C",
"#6D1F62",
"#584477",
"#B7DBAB",
"#F4D598",
"#70DBED",
"#F9BA8F",
"#F29191",
"#82B5D8",
"#E5A8E2",
"#AEA2E0",
"#629E51",
"#E5AC0E",
"#64B0C8",
"#E0752D",
"#BF1B00",
"#0A50A1",
"#962D82",
"#614D93",
"#9AC48A",
"#F2C96D",
"#65C5DB",
"#F9934E",
"#EA6460",
"#5195CE",
"#D683CE",
"#806EB7",
"#3F6833",
"#967302",
"#2F575E",
"#99440A",
"#58140C",
"#052B51",
"#511749",
"#3F2B5B",
"#E0F9D7",
"#FCEACA",
"#CFFAFF",
"#F9E2D2",
"#FCE2DE",
"#BADFF4",
"#F9D9F9",
"#DEDAF7"
],
"refresh": {
"enable": false,
"interval": 2
},
"title": "TESTS"
}
]
},
{
"title": "Documents",
"height": "550px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "table",
"loadingEditor": false,
"status": "Stable",
"queries": {
"mode": "all",
"ids": [
0
],
"query": "q=*%3A*&wt=json&rows=500",
"basic_query": "q=*%3A*",
"custom": ""
},
"size": 100,
"pages": 5,
"offset": 0,
"sort": [],
"sortable": false,
"group": "default",
"style": {
"font-size": "9pt"
},
"overflow": "min-height",
"fields": [
"name_s",
"id"
],
"important_fields": [
"_root_",
"_version_",
"abstract_t",
"annot_cliner_problems_t",
"annot_cliner_tests_t",
"annot_cliner_treatments_t",
"content_type",
"content_type_str",
"end_off_tok",
"end_off_tok_str",
"id",
"init_off_tok",
"init_off_tok_str",
"labels4_t",
"labels5_t",
"name_s",
"source_s",
"span_t",
"txt_t",
"type_t"
],
"highlight": [],
"header": true,
"paging": true,
"field_list": true,
"trimFactor": 300,
"normTimes": true,
"spyable": true,
"saveOption": "json",
"exportSize": 500,
"exportAll": true,
"displayLinkIcon": true,
"imageFields": [],
"imgFieldWidth": "auto",
"imgFieldHeight": "85px",
"show_queries": true,
"maxNumCalcTopFields": 20,
"calcTopFieldValuesFromAllData": false,
"refresh": {
"enable": false,
"interval": 2
},
"title": "Documents"
}
]
}
],
"editable": true,
"index": {
"interval": "none",
"pattern": "[logstash-]YYYY.MM.DD",
"default": "_all"
},
"style": "light",
"failover": false,
"panel_hints": true,
"loader": {
"save_gist": false,
"save_elasticsearch": true,
"save_local": true,
"save_default": true,
"save_temp": true,
"save_temp_ttl_enable": true,
"save_temp_ttl": "30d",
"load_gist": true,
"load_elasticsearch": true,
"load_elasticsearch_size": 20,
"load_local": true,
"hide": false,
"dropdown_collections": false,
"save_as_public": true
},
"solr": {
"server": "/solr/",
"core_name": "covid",
"global_params": "",
"core_list": [
"atc",
"covid",
"dbpedia",
"eurovoc",
"jrc",
"tbfy",
"test",
"words"
]
},
"username": "guest",
"home": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment