Commit Graph

8 Commits

Author SHA1 Message Date
Clark Boylan 3caf0cf70d Retire this project
We've shutdown the kibana service and don't need to manage it with
puppet any more.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/839235
Change-Id: Iad395dfc91b9c7523b735b31da4dec2721acc42c
2022-04-25 09:43:47 -07:00
Clark Boylan df57bd6f9e Encode query uri component properly
Previously we used encodeURI() to encode a single component of a URI,
this meant that characters like = were not encoded. This isn't correct
bceause we are just encoding a single component and need = to be
encoded. Fix this by using encodeURIComponent which should do the right
thing.

Change-Id: Ib320c1e646ccbd2233bd9d7a2be9df29ff7bd1ed
2015-12-15 09:50:36 -08:00
Clark Boylan 47f7ddf78f Vendor dashLoader.js with Share patch
In order to make Share work without relying on elasticsearch write perms
we patch dashLoader.js to construct the urls based on the logstash
dashboard since it is deterministic anyways. This is a massive hack but
maybe it will be less terrible once ES is upgraded and we can use
kibana4.

Change-Id: I64cc693e5e188c68e134b4769ccc519f6191f36c
2015-10-16 12:44:59 -07:00
Clark Boylan 86fb79e091 Use custom logstash dashboard
We update the default logstash dashboard to remove excessively short
refresh period options, default the query result listing output to
be timestamp and message, default to a 15 minute query instead
of a 24 hour query, and default to a blank query instead of '*" because
the '*' forces you to delete it to add any new queries but they are
functionally equivalent.

Change-Id: Id68a1f1e496f5d729b21aa2be30a5e2b73ab65fd
2015-10-16 09:13:35 -07:00
Clark Boylan ce79dcb720 Fix elasticsearch connectivity on logstash.o.o.
The new elasticsearch server needs to be able to connect back to
logstash over the elasticsearch ports. Also make kibana talk to the new
elasticsearch server.

Change-Id: I88af40c7885b263fcef5ff16210f073cd0a696a5
Reviewed-on: https://review.openstack.org/30354
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-23 23:46:30 +00:00
Clark Boylan 54fb22d626 Set number of faceting indexes to 1 in Kibana.
* modules/kibana/files/config.rb: Kibana uses ElasticSearch's faceting
feature to collect statistics. It defaults to performing this over all
indexes but this is expensive so limit it to 1 index.

Change-Id: I324099f88a9855062aba4905380c9dc8540555a5
Reviewed-on: https://review.openstack.org/28202
Reviewed-by: K Jonathan Harker <jesusaurus@mail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-05-06 18:23:44 +00:00
Clark Boylan 41163e7071 Set more precise Kibana timestamp format.
* modules/kibana/files/config.rb: The Kibana timestamp format we were
using did not include milliseconds. Change the format to
'yyyy-mm-dd\'T\'HH:MM:ss.l' to include milliseconds in the time field.

Change-Id: I6d812d5ee3f2b778a1adccf950f5423584ad69cf
Reviewed-on: https://review.openstack.org/27752
Reviewed-by: matthew-wagoner <matthew.wagoner@hp.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-04-30 17:05:38 +00:00
K Jonathan Harker 06c170ea0c Use kibana as the web frontend to logstash.
Add a kibana module that installs kibana and flat configuration files,
and also disables the previous boring bland web frontend.

Change-Id: I772c66f07d2bc3a88128e101074be9d4162e3f8a
Reviewed-on: https://review.openstack.org/27089
Reviewed-by: Jesse Keating <jesse.keating@rackspace.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-04-25 20:45:19 +00:00