Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
c38c884d
Commit
c38c884d
authored
Sep 28, 2018
by
Markus Scheidgen
Browse files
Configuration logstash and metricbeat.
parent
10b4d87f
Pipeline
#37330
passed with stages
in 4 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
infrastructure/elk/30-output.conf
View file @
c38c884d
output
{
elasticsearch
{
hosts
=> [
"localhost"
]
# manage_template => false
# index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
# document_type => "%{[@metadata][type]}"
if
[
type
] ==
"Logstash"
{
elasticsearch
{
hosts
=> [
"localhost"
]
}
}
else
{
elasticsearch
{
hosts
=> [
"localhost"
]
manage_template
=>
false
index
=>
"%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type
=>
"%{[@metadata][type]}"
}
}
}
\ No newline at end of file
infrastructure/nomad/docker-compose.prod.yml
View file @
c38c884d
...
...
@@ -38,7 +38,8 @@ services:
-
nomad_elk:/var/lib/elasticsearch
ports
:
-
15601:5601
# kibana web
-
5044:5044
# expose to host, allows metricbeat on host to send data
-
5044:5044
# expose to host, allows metricbeat on host to send data
-
29200:9200
# allows metricbeat config to access es
api
:
links
:
...
...
@@ -47,6 +48,8 @@ services:
-
/nomad:/nomad
worker
:
environment
:
NOMAD_LOGSTASH_LEVEL
:
INFO
links
:
-
elk
volumes
:
...
...
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