Joe Talerico 9ad1592711 Kibana visuals and dashboards for OpenStack
Commit to import Browbeat Kibana Visuals into a existing Kibana
infrastructure.

This commit will ship with two dashboards and mutliple visuals.

Fix for the ElasticSearch playbook install. The ElasticSearch playbook
was missing bits to listen on external.

Change-Id: I209af58ba81b1caf613ea669b3a9ce8f5530c40e
2016-09-09 14:57:16 -04:00

32 lines
1004 B
YAML

---
- name: Upload Searches
uri:
url: http://{{ es_ip }}:{{ es_local_port }}/{{ es_kibana_index }}/search/{{ item | basename | regex_replace('\.json','') }}
method: PUT
body: "{{ lookup('file', item) }}"
body_format: json
with_fileglob:
- "{{ browbeat_path }}/visualization/*/search/*"
ignore_errors: true
- name: Upload Visuals
uri:
url: http://{{ es_ip }}:{{ es_local_port }}/{{ es_kibana_index }}/visualization/{{ item | basename | regex_replace('\.json','')}}
method: PUT
body: "{{ lookup('file', item) }}"
body_format: json
with_fileglob:
- "{{ browbeat_path }}/visualization/*/visualization/*"
ignore_errors: true
- name: Upload Dashboards
uri:
url: http://{{ es_ip }}:{{ es_local_port }}/{{ es_kibana_index }}/dashboard/{{ item | basename | regex_replace('\.json','')}}
method: PUT
body: "{{ lookup('file', item) }}"
body_format: json
with_fileglob:
- "{{ browbeat_path }}/visualization/*/dashboard/*"
ignore_errors: true