Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
1a2841e2
Unverified
Commit
1a2841e2
authored
May 27, 2019
by
Marcus Efraimsson
Committed by
GitHub
May 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: metricbeat and kibana for elasticsearch 7 block (#17262)
parent
de92c360
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
0 deletions
+66
-0
devenv/datasources.yaml
+11
-0
devenv/docker/blocks/elastic7/docker-compose.yaml
+16
-0
devenv/docker/blocks/elastic7/metricbeat.yml
+39
-0
No files found.
devenv/datasources.yaml
View file @
1a2841e2
...
@@ -143,6 +143,17 @@ datasources:
...
@@ -143,6 +143,17 @@ datasources:
timeField
:
"
@timestamp"
timeField
:
"
@timestamp"
esVersion
:
70
esVersion
:
70
-
name
:
gdev-elasticsearch-v7-metricbeat
type
:
elasticsearch
access
:
proxy
database
:
"
[metricbeat-]YYYY.MM.DD"
url
:
http://localhost:12200
jsonData
:
interval
:
Daily
timeField
:
"
@timestamp"
esVersion
:
70
timeInterval
:
"
10s"
-
name
:
gdev-mysql
-
name
:
gdev-mysql
type
:
mysql
type
:
mysql
url
:
localhost:3306
url
:
localhost:3306
...
...
devenv/docker/blocks/elastic7/docker-compose.yaml
View file @
1a2841e2
...
@@ -21,3 +21,19 @@
...
@@ -21,3 +21,19 @@
-
./docker/blocks/elastic7/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
-
./docker/blocks/elastic7/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
-
/var/log:/var/log:ro
-
/var/log:/var/log:ro
-
../data/log:/var/log/grafana:ro
-
../data/log:/var/log/grafana:ro
metricbeat7
:
image
:
docker.elastic.co/beats/metricbeat-oss:7.0.0
network_mode
:
host
command
:
metricbeat -e -strict.perms=false
user
:
root
volumes
:
-
./docker/blocks/elastic7/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml:ro
-
/var/run/docker.sock:/var/run/docker.sock:ro
kibana7
:
image
:
docker.elastic.co/kibana/kibana-oss:7.0.0
ports
:
-
"
5601:5601"
environment
:
ELASTICSEARCH_HOSTS
:
http://elasticsearch7:9200
devenv/docker/blocks/elastic7/metricbeat.yml
0 → 100644
View file @
1a2841e2
metricbeat.config
:
modules
:
path
:
${path.config}/modules.d/*.yml
# Reload module configs as they change:
reload.enabled
:
false
metricbeat.autodiscover
:
providers
:
-
type
:
docker
hints.enabled
:
true
metricbeat.modules
:
-
module
:
docker
metricsets
:
-
"
container"
-
"
cpu"
-
"
diskio"
-
"
healthcheck"
-
"
info"
#- "image"
-
"
memory"
-
"
network"
hosts
:
[
"
unix:///var/run/docker.sock"
]
period
:
10s
enabled
:
true
processors
:
-
add_cloud_metadata
:
~
output.elasticsearch
:
hosts
:
[
"
localhost:12200"
]
index
:
"
metricbeat-%{+yyyy.MM.dd}"
setup.template.name
:
"
metricbeat"
setup.template.pattern
:
"
metricbeat-*"
setup.template.settings
:
index.number_of_shards
:
1
index.number_of_replicas
:
1
\ No newline at end of file
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