Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cbd8ce98
Commit
cbd8ce98
authored
Jan 16, 2020
by
Adrien Kohlbecker
Committed by
Douglas Barbosa Alexandre
Jan 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable curator to deleted old log data
Deletes data after 15 days
parent
0276f654
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
doc/user/clusters/applications.md
doc/user/clusters/applications.md
+2
-0
vendor/elastic_stack/values.yaml
vendor/elastic_stack/values.yaml
+29
-1
No files found.
doc/user/clusters/applications.md
View file @
cbd8ce98
...
@@ -433,6 +433,8 @@ Filebeat will run as a DaemonSet on each node in your cluster, and it will ship
...
@@ -433,6 +433,8 @@ Filebeat will run as a DaemonSet on each node in your cluster, and it will ship
GitLab will then connect to Elasticsearch for logs instead of the Kubernetes API,
GitLab will then connect to Elasticsearch for logs instead of the Kubernetes API,
and you will have access to more advanced querying capabilities.
and you will have access to more advanced querying capabilities.
Log data is automatically deleted after 15 days using
[
Curator
](
https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/about.html
)
.
This is a preliminary release of Elastic Stack as a GitLab-managed application. By default,
This is a preliminary release of Elastic Stack as a GitLab-managed application. By default,
the ability to install it is disabled.
the ability to install it is disabled.
...
...
vendor/elastic_stack/values.yaml
View file @
cbd8ce98
...
@@ -34,7 +34,35 @@ nginx-ldapauth-proxy:
...
@@ -34,7 +34,35 @@ nginx-ldapauth-proxy:
enabled
:
false
enabled
:
false
elasticsearch-curator
:
elasticsearch-curator
:
enabled
:
false
enabled
:
true
configMaps
:
config_yml
:
|-
---
client:
hosts:
- elastic-stack-elasticsearch-client
port: 9200
action_file_yml
:
|-
---
actions:
1:
action: delete_indices
description: >-
Delete indices older than 15 days (based on index name), for filebeat-
prefixed indices. Ignore the error if the filter does not result in an
actionable list of indices (ignore_empty_list) and exit cleanly.
options:
ignore_empty_list: True
filters:
- filtertype: pattern
kind: prefix
value: filebeat-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 15
elasticsearch-exporter
:
elasticsearch-exporter
:
enabled
:
false
enabled
:
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment