|
@@ -2,6 +2,16 @@ var dashboards =
|
|
|
{
|
|
{
|
|
|
title: "Infinite Monkey Dashboard",
|
|
title: "Infinite Monkey Dashboard",
|
|
|
rows: [
|
|
rows: [
|
|
|
|
|
+ {
|
|
|
|
|
+ height: "30px",
|
|
|
|
|
+ panels: [
|
|
|
|
|
+ {
|
|
|
|
|
+ type : "stringquery",
|
|
|
|
|
+ span : 12,
|
|
|
|
|
+ group : "mainsearch"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
height: "300px",
|
|
height: "300px",
|
|
|
panels: [
|
|
panels: [
|
|
@@ -11,12 +21,8 @@ var dashboards =
|
|
|
span : 6,
|
|
span : 6,
|
|
|
show : ['lines','stack'],
|
|
show : ['lines','stack'],
|
|
|
fill : 1,
|
|
fill : 1,
|
|
|
- query : [
|
|
|
|
|
- { label : "US", query : "country:US", color: '#86B32D' },
|
|
|
|
|
- { label : "CN", query : "country:CN", color: '#BF3030' },
|
|
|
|
|
- { label : "IN", query : "country:IN", color: '#1D7373' }
|
|
|
|
|
- ],
|
|
|
|
|
- color : "#7BA4AF"
|
|
|
|
|
|
|
+ query : [{ label : "lines", query : "*", color: '#86B32D' } ],
|
|
|
|
|
+ group : "mainsearch"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title : "World Monkeys",
|
|
title : "World Monkeys",
|
|
@@ -25,7 +31,9 @@ var dashboards =
|
|
|
field : "country",
|
|
field : "country",
|
|
|
span : 6,
|
|
span : 6,
|
|
|
size : 500,
|
|
size : 500,
|
|
|
- query : "*"
|
|
|
|
|
|
|
+ query : "*",
|
|
|
|
|
+ group : "mainsearch"
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
@@ -33,7 +41,7 @@ var dashboards =
|
|
|
height: "300px",
|
|
height: "300px",
|
|
|
panels: [
|
|
panels: [
|
|
|
{
|
|
{
|
|
|
- title : "Hamlet vs Macbeth",
|
|
|
|
|
|
|
+ title : "Plays",
|
|
|
type : "pie",
|
|
type : "pie",
|
|
|
span : 4,
|
|
span : 4,
|
|
|
size : 8,
|
|
size : 8,
|
|
@@ -41,17 +49,16 @@ var dashboards =
|
|
|
colors : ['#BF3030','#1D7373','#86B32D','#A60000','#006363','#679B00'],
|
|
colors : ['#BF3030','#1D7373','#86B32D','#A60000','#006363','#679B00'],
|
|
|
field : 'country',
|
|
field : 'country',
|
|
|
//query : { query: "*", field: "country"}
|
|
//query : { query: "*", field: "country"}
|
|
|
- query : [
|
|
|
|
|
- { label : "Hamlet", query : "play_name:Hamlet", color: '#86B32D' },
|
|
|
|
|
- { label : "Macbeth", query : "play_name:macbeth", color: '#BF3030' },
|
|
|
|
|
- ]
|
|
|
|
|
|
|
+ query : { field : "play_name", query : "*" },
|
|
|
|
|
+ group : "mainsearch"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title : "Newest Lines",
|
|
title : "Newest Lines",
|
|
|
type : "table",
|
|
type : "table",
|
|
|
span : 8,
|
|
span : 8,
|
|
|
query : "*",
|
|
query : "*",
|
|
|
- fields : ['@timestamp','speaker','text_entry']
|
|
|
|
|
|
|
+ fields : ['@timestamp','speaker','text_entry'],
|
|
|
|
|
+ group : "mainsearch"
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|