diff --git a/common/lib/panels/jquery.flot.stack.js b/common/lib/panels/jquery.flot.stack.js
index bbeb0f71010..b35967536c1 100644
--- a/common/lib/panels/jquery.flot.stack.js
+++ b/common/lib/panels/jquery.flot.stack.js
@@ -203,7 +203,6 @@ charts or filled areas).
//set percentage for stacked chart
function processRawData(plot, series, data, datapoints) {
- console.log(plot)
if (!processed) {
processed = true;
stackSums = getStackSums(plot.getData());
diff --git a/panels/timepicker/module.js b/panels/timepicker/module.js
index c4e4ef41c97..2c72a97eda8 100644
--- a/panels/timepicker/module.js
+++ b/panels/timepicker/module.js
@@ -61,13 +61,13 @@ angular.module('kibana.timepicker', [])
switch($scope.panel.mode) {
case 'absolute':
$scope.time = {
- from : moment($scope.panel.time.from,'YYYY-MM-DD HH:mm:ss') || moment(time_ago($scope.panel.timespan)),
- to : moment($scope.panel.time.to,'YYYY-MM-DD HH:mm:ss') || moment()
+ from : moment($scope.panel.time.from,'MM/DD/YYYY HH:mm:ss') || moment(time_ago($scope.panel.timespan)),
+ to : moment($scope.panel.time.to,'MM/DD/YYYY HH:mm:ss') || moment()
}
break;
case 'since':
$scope.time = {
- from : moment($scope.panel.time.from,'YYYY-MM-DD HH:mm:ss') || moment(time_ago($scope.panel.timespan)),
+ from : moment($scope.panel.time.from,'MM/DD/YYYY HH:mm:ss') || moment(time_ago($scope.panel.timespan)),
to : moment()
}
break;
diff --git a/sample/apache_ldap.conf b/sample/apache_ldap.conf
new file mode 100644
index 00000000000..31d395470c8
--- /dev/null
+++ b/sample/apache_ldap.conf
@@ -0,0 +1,61 @@
+# Courtesy of https://github.com/sgzijl
+# config.js includes elasticsearch: "https://"+window.location.hostname+":443",
+
+
+ ServerName your.domain.tld
+ RewriteEngine On
+ RewriteCond %{HTTPS} off
+ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
+
+
+
+ ServerName your.domain.tld
+
+ SSLEngine on
+ SSLCertificateFile /path/to/public.crt
+ SSLCertificateKeyFile /path/to/private.key
+
+ DocumentRoot /path/to/kibana3
+
+ Allow from all
+ Options -Multiviews
+
+
+ LogLevel debug
+ ErrorLog /path/to/logs/error_log
+ CustomLog /path/to/logs/access_log combined
+
+ # Set global proxy timeouts
+
+ ProxySet connectiontimeout=5 timeout=90
+
+
+ # Proxy for _aliases and .*/_search
+
+ ProxyPass http://127.0.0.1:9200
+ ProxyPassReverse http://127.0.0.1:9200
+
+
+ # Proxy for kibana-int/{dashboard,temp} stuff (if you don't want auth on /, then you will want these to be protected)
+
+ ProxyPass http://127.0.0.1:9200
+ ProxyPassReverse http://127.0.0.1:9200
+
+
+ # Optional disable auth for a src IP (eg: your monitoring host or subnet)
+
+ Allow from 5.6.7.8
+ Deny from all
+ Satisfy any
+
+ AuthLDAPBindDN "CN=_ldapbinduser,OU=Users,DC=example,DC=com"
+ AuthLDAPBindPassword "ldapbindpass"
+ AuthLDAPURL "ldaps://ldap01.example.com ldap02.example.com/OU=Users,DC=example,DC=com?sAMAccountName?sub?(objectClass=*)"
+ AuthType Basic
+ AuthBasicProvider ldap
+ AuthName "Please authenticate for Example dot com"
+ AuthLDAPGroupAttributeIsDN on
+ require valid-user
+
+
+
diff --git a/sample/kibana.conf b/sample/nginx.conf
similarity index 100%
rename from sample/kibana.conf
rename to sample/nginx.conf