-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
full stack development development and test environment with docker-c…
…ompose
- Loading branch information
Showing
7 changed files
with
358 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
input { | ||
beats { | ||
port => 5044 | ||
} | ||
} | ||
|
||
filter { | ||
mutate { | ||
gsub => ["[rxtxMsg][label]", "^/", ""] | ||
split => {"[rxtxMsg][label]" => "/"} | ||
} | ||
} | ||
|
||
output { | ||
|
||
if [fields][idx] == "ts" { | ||
elasticsearch { | ||
hosts => [ "elasticsearch:9200" ] | ||
index => "%{[rxtxMsg][producer]}-data-%{[rxtxMsg][key]}-ts-%{+YYYY.MM.dd}" | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
rtbeat: | ||
# HTTP server port | ||
port: "8081" | ||
# timeout | ||
timeout: 5 | ||
|
||
output.logstash: | ||
enabled: true | ||
# beats listener configured in logstash.conf | ||
hosts: ["logstash:5044"] | ||
|
||
# internal metrics through a HTTP endpoint | ||
http.enabled: true | ||
http.port: 5066 | ||
|
||
# used in the logstash pipeline to infer time-series | ||
# data without the use of a specific document id and | ||
# using -ts- in the index name. | ||
fields: | ||
idx: ts |
Oops, something went wrong.