Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
471e2c0d
Commit
471e2c0d
authored
8 years ago
by
Jenkins
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Configure log path for kibana"
parents
668439d2
a5afa45f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/roles/kibana/templates/kibana.yml.j2
+1
-0
1 addition, 0 deletions
ansible/roles/kibana/templates/kibana.yml.j2
docker/kibana/Dockerfile.j2
+3
-1
3 additions, 1 deletion
docker/kibana/Dockerfile.j2
docker/kibana/extend_start.sh
+10
-0
10 additions, 0 deletions
docker/kibana/extend_start.sh
with
14 additions
and
1 deletion
ansible/roles/kibana/templates/kibana.yml.j2
+
1
−
0
View file @
471e2c0d
kibana.defaultAppId: "{{ kibana_default_app_id }}"
logging.dest: /var/log/kolla/kibana/kibana.log
server.port: {{ kibana_server_port }}
server.host: "{% if orchestration_engine == 'KUBERNETES' %}0.0.0.0{% else %}{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}{% endif %}"
elasticsearch.url: "{{ internal_protocol }}://{% if orchestration_engine == 'KUBERNETES' %}elasticsearch{% else %}{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}{% endif %}:{{ elasticsearch_port }}"
...
...
This diff is collapsed.
Click to expand it.
docker/kibana/Dockerfile.j2
+
3
−
1
View file @
471e2c0d
...
...
@@ -5,8 +5,10 @@ MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN useradd -r -m --user-group kibana \
&& usermod -a -G kolla kibana
&& usermod -a -G kolla kibana \
&& chmod 755 /usr/local/bin/kolla_extend_start
{% set kibana_packages = ['kibana'] %}
{{ macros.install_packages(kibana_packages | customizable("packages")) }}
...
...
This diff is collapsed.
Click to expand it.
docker/kibana/extend_start.sh
0 → 100644
+
10
−
0
View file @
471e2c0d
#!/bin/bash
KIBANA_LOG_DIR
=
"/var/log/kolla/kibana"
if
[[
!
-d
"
${
KIBANA_LOG_DIR
}
"
]]
;
then
mkdir
-p
"
${
KIBANA_LOG_DIR
}
"
fi
if
[[
$(
stat
-c
%U:%G
"
${
KIBANA_LOG_DIR
}
"
)
!=
"kibana:kolla"
]]
;
then
chown
kibana:kolla
"
${
KIBANA_LOG_DIR
}
"
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment