Skip to content

Commit

Permalink
Move ECS to rock-dashboards repo
Browse files Browse the repository at this point in the history
This moves the ECS template causing issues with the Kibana template.

Fixes: #304
  • Loading branch information
dcode committed Aug 22, 2018
1 parent 48ceb6f commit 2374105
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 841 deletions.
26 changes: 1 addition & 25 deletions playbooks/deploy-rock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,30 +311,6 @@
body_format: json
when: with_elasticsearch and default_index_template.status == 404

- name: Check for ECS mapping template
uri:
method: "GET"
url: http://localhost:9200/_template/ecs
failed_when: False
register: ecs_index_template
when: with_elasticsearch

- name: Load ECS Elasticsearch mapping template
uri:
method: PUT
url: http://localhost:9200/_template/ecs
body: "{{ lookup('file', 'es-ecs-mapping.json')}}"
body_format: json
when: with_elasticsearch and ecs_index_template.status == 404

- name: Check for Bro mapping templates
uri:
method: "GET"
url: http://localhost:9200/_template/bro_index
failed_when: False
register: bro_mapping
when: (with_elasticsearch and with_bro)

- name: Configure Kibana templates
uri:
method: PUT
Expand Down Expand Up @@ -465,7 +441,7 @@
wait_for:
port: "{{ kibana_port }}"
when: with_kibana

- name: Blanket install/update Kibana saved objects
command: ./import-saved-items.sh "{{ kibana_url }}"
args:
Expand Down
Loading

0 comments on commit 2374105

Please sign in to comment.