From 73fa45ca5aa62dfa4aa074125c384ffbaad60387 Mon Sep 17 00:00:00 2001 From: vasraz Date: Fri, 31 Jan 2020 14:38:43 +0000 Subject: Remove ES & Kibana Change-Id: I983a0fe570b1a2cbf641f4285ef030be686bed32 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-2724 --- .../cookbooks/sdc-kibana/attributes/default.rb | 1 - .../cookbooks/sdc-kibana/recipes/setup_kibana.rb | 25 -------- .../sdc-kibana/templates/default/kibana.yml.erb | 74 ---------------------- 3 files changed, 100 deletions(-) delete mode 100644 sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/attributes/default.rb delete mode 100644 sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/recipes/setup_kibana.rb delete mode 100644 sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/templates/default/kibana.yml.erb (limited to 'sdc-os-chef/sdc-kibana/chef-repo/cookbooks') diff --git a/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/attributes/default.rb b/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/attributes/default.rb deleted file mode 100644 index 4287ca8617..0000000000 --- a/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/attributes/default.rb +++ /dev/null @@ -1 +0,0 @@ -# \ No newline at end of file diff --git a/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/recipes/setup_kibana.rb b/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/recipes/setup_kibana.rb deleted file mode 100644 index 448a2bc642..0000000000 --- a/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/recipes/setup_kibana.rb +++ /dev/null @@ -1,25 +0,0 @@ -directory "/opt/kibana/config" do - owner "kibana" - group "kibana" - mode '0775' - action :create -end - -template "kibana-yml" do - path "/opt/kibana/config/kibana.yml" - source "kibana.yml.erb" - owner "kibana" - group "kibana" - mode "0755" - variables ({ - :catalog_host => node['BE_VIP'] , - :catalog_port => node['BE'][:http_port] - }) -end - -bash "echo status" do - code <<-EOH - echo "DOCKER STARTED" - EOH -end - diff --git a/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/templates/default/kibana.yml.erb b/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/templates/default/kibana.yml.erb deleted file mode 100644 index d2c9e7d5c8..0000000000 --- a/sdc-os-chef/sdc-kibana/chef-repo/cookbooks/sdc-kibana/templates/default/kibana.yml.erb +++ /dev/null @@ -1,74 +0,0 @@ -# Kibana is served by a back end server. This controls which port to use. -# server.port: 5601 - -# The host to bind the server to. -# server.host: "0.0.0.0" - -# If you are running kibana behind a proxy, and want to mount it at a path, -# specify that path here. The basePath can't end in a slash. -server.basePath: "/sdc1/kibanaProxy" - -# The Elasticsearch instance to use for all your queries. -# elasticsearch.url: "http://localhost:9200" -elasticsearch.url: "http://<%= @catalog_host %>:<%= @catalog_port %>/sdc2/esGateway" - -# preserve_elasticsearch_host true will send the hostname specified in `elasticsearch`. If you set it to false, -# then the host you use to connect to *this* Kibana instance will be sent. -# elasticsearch.preserveHost: true - -# Kibana uses an index in Elasticsearch to store saved searches, visualizations -# and dashboards. It will create a new index if it doesn't already exist. -# kibana.index: ".kibana" - -# The default application to load. -kibana.defaultAppId: "dashboard/BI-Dashboard" - -# If your Elasticsearch is protected with basic auth, these are the user credentials -# used by the Kibana server to perform maintenance on the kibana_index at startup. Your Kibana -# users will still need to authenticate with Elasticsearch (which is proxied through the Kibana server) -# elasticsearch.username: "kibana4-server" -# elasticsearch.password: "Aa1234%^!" - -# SSL for outgoing requests from the Kibana Server to the browser (PEM formatted) -# server.ssl.cert: /path/to/your/server.crt -# server.ssl.key: /path/to/your/server.key - -# Optional setting to validate that your Elasticsearch backend uses the same key files (PEM formatted) -# elasticsearch.ssl.cert: /path/to/your/client.crt -# elasticsearch.ssl.key: /path/to/your/client.key - -# If you need to provide a CA certificate for your Elasticsearch instance, put the path of the pem file here. -# elasticsearch.ssl.ca: /var/lib/jetty/base/fe/config/cacert.pem - -# Set to false to have a complete disregard for the validity of the SSL certificate. -# elasticsearch.ssl.verify: true - -# Time in milliseconds to wait for elasticsearch to respond to pings, defaults to request_timeout setting -# elasticsearch.pingTimeout: 1500 - -# Time in milliseconds to wait for responses from the back end or elasticsearch. -# This must be > 0 -# elasticsearch.requestTimeout: 300000 - -# Time in milliseconds for Elasticsearch to wait for responses from shards. -# Set to 0 to disable. -# elasticsearch.shardTimeout: 0 - -# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying -# elasticsearch.startupTimeout: 5000 - -# Set the path to where you would like the process id file to be created. -# pid.file: /var/run/kibana.pid - -# If you would like to send the log output to a file you can set the path below. -# logging.dest: stdout - -# Set this to true to suppress all logging output. -# logging.silent: false - -# Set this to true to suppress all logging output except for error messages. -# logging.quiet: false - -# Set this to true to log all events, including system usage information and all requests. -# logging.verbose: false - -- cgit 1.2.3-korg