-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for historic log search. Added docker and lostash confi…
…guraton to the distribution to begin tracking changes with releases.
- Loading branch information
1 parent
f188d10
commit bd2381d
Showing
11 changed files
with
133 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
target/ | ||
nb-configuration.xml | ||
nbactions.xml | ||
.DS_Store | ||
*.DS_Store | ||
*.iml | ||
|
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
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
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
42 changes: 42 additions & 0 deletions
42
streamflow-dist/src/main/resources/deploy/docker/storm/fig.yml
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,42 @@ | ||
zookeeper: | ||
image: wurstmeister/zookeeper | ||
ports: | ||
- "49181:2181" | ||
- "22" | ||
nimbus: | ||
image: wurstmeister/storm-nimbus | ||
ports: | ||
- "49773:3773" | ||
- "49772:3772" | ||
- "49627:6627" | ||
- "22" | ||
links: | ||
- zookeeper:zk | ||
supervisor: | ||
image: wurstmeister/storm-supervisor | ||
ports: | ||
- "8000" | ||
- "22" | ||
links: | ||
- nimbus:nimbus | ||
- zookeeper:zk | ||
volumes: | ||
- /var/log/storm | ||
ui: | ||
image: wurstmeister/storm-ui | ||
ports: | ||
- "49080:8080" | ||
- "22" | ||
links: | ||
- nimbus:nimbus | ||
- zookeeper:zk | ||
logstash: | ||
image: pblittle/docker-logstash | ||
ports: | ||
- "49200:9200" | ||
- "49292:9292" | ||
volumes_from: | ||
- supervisor | ||
volumes: | ||
- logstash:/opt/logstash/conf.d | ||
|
44 changes: 44 additions & 0 deletions
44
streamflow-dist/src/main/resources/deploy/docker/storm/logstash/logstash.conf
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,44 @@ | ||
input { | ||
file { | ||
type => "topology" | ||
path => ["/var/log/storm/topology-*.log"] | ||
} | ||
file { | ||
type => "nimbus" | ||
path => ["/var/log/storm/nimbus.log"] | ||
} | ||
file { | ||
type => "supervisor" | ||
path => ["/var/log/storm/supervisor.log"] | ||
} | ||
file { | ||
type => "worker" | ||
path => ["/var/log/storm/worker-*.log"] | ||
} | ||
} | ||
|
||
filter { | ||
if [type] == "topology" { | ||
multiline { | ||
pattern => "^%{TIMESTAMP_ISO8601} " | ||
negate => true | ||
what => previous | ||
enable_flush => true | ||
} | ||
grok { | ||
match => ["message", "%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:level} %{DATA:topology} %{DATA:project} %{DATA:component} %{DATA:category} - %{GREEDYDATA:text}"] | ||
} | ||
} | ||
} | ||
|
||
output { | ||
stdout { | ||
codec => "json_lines" | ||
} | ||
elasticsearch { | ||
embedded => true | ||
host => "127.0.0.1" | ||
port => "9200" | ||
protocol => "http" | ||
} | ||
} |