Skip to content

Commit

Permalink
Merge pull request #219 from rashidkpc/query_service
Browse files Browse the repository at this point in the history
Refactor of queries, filters, dashboard service
  • Loading branch information
Rashid Khan committed Jul 15, 2013
2 parents 4f1b33b + 278c069 commit fdb3492
Show file tree
Hide file tree
Showing 79 changed files with 1,735 additions and 4,991 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ Kibana 3 is completely new version of Kibana written entirely in HTML and Javasc
the Kibana 2 repository at [https://github.com/rashidkpc/Kibana](https://github.com/rashidkpc/Kibana)

### Important!
The index pattern format has changed in Kibana 3 milestone 2. Please update your index pattern in the
timepicker panel for any dashboards you've built. The default has been updated.
The dashboard storage format has changed in Kibana 3 milestone 3. Existing dashboards are unfortunately not backward compatible. However there's some great new features:
* Every panel support multi-query
* Customizable query colors and labels
* Queries, label and colors are synced across panels at all times
* New filtering functionality
* Filters can be toggled and removed
* Drill down won't overwrite your queries, labels or colors
* Confusing group functionality has been removed
* Index configuration has been moved from the timepicker, to the main dashboard editor
* The stringquery panel has been replaced with a more polished 'query' panel

More information about Kibana 3 can be found at [http://three.kibana.org](http://three.kibana.org)

Expand Down
9 changes: 9 additions & 0 deletions common/css/bootstrap.light.min.css

Large diffs are not rendered by default.

858 changes: 0 additions & 858 deletions common/css/bootstrap.min.css

This file was deleted.

731 changes: 0 additions & 731 deletions common/css/bootstrap.min.css.orig

This file was deleted.

6 changes: 0 additions & 6 deletions common/css/elasticjs.css

This file was deleted.

39 changes: 0 additions & 39 deletions common/css/jquery-jvectormap.css

This file was deleted.

12 changes: 10 additions & 2 deletions common/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
color: #000;
}

.spy {
position:absolute;
right:0px;
top:0px;
}

.navbar .brand {
color: #eee;
}
Expand Down Expand Up @@ -101,6 +107,10 @@
cursor: pointer;
}

.pointer:hover {
color: #fff;
}

.pointer {
cursor: pointer;
}
Expand All @@ -113,8 +123,6 @@
max-width: 500px;
}

.popover-title { display: none; }

.tiny {
font-size: 50%;
}
Expand Down
4 changes: 2 additions & 2 deletions common/lib/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function top_field_values(docs,field,count) {
}

function add_to_query(original,field,value,negate) {
var not = negate ? "NOT " : "";
var not = negate ? "-" : "";
if(value !== '')
var query = field + ":" + "\"" + addslashes(value.toString()) + "\"";
else
Expand Down Expand Up @@ -284,7 +284,7 @@ function flatten_json(object,root,array) {
} else if(obj.length === 1 && _.isNumber(obj[0])) {
array[rootname] = parseFloat(obj[0]);
} else {
array[rootname] = typeof obj === 'undefined' ? null : obj.join(',');
array[rootname] = typeof obj === 'undefined' ? null : obj;
}
} else {
flatten_json(obj,rootname,array)
Expand Down
32 changes: 0 additions & 32 deletions common/lib/underscore.min.js.old

This file was deleted.

4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ var config = new Settings(
elasticsearch: "http://"+window.location.hostname+":9200",
// elasticsearch: 'http://localhost:9200',
kibana_index: "kibana-int",
modules: ['histogram','map','pie','table','stringquery','sort',
modules: ['histogram','map','pie','table','filtering',
'timepicker','text','fields','hits','dashcontrol',
'column','derivequeries','trends','bettermap'],
'column','derivequeries','trends','bettermap','query'],
}
);
Loading

0 comments on commit fdb3492

Please sign in to comment.