Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
djkhl committed Feb 8, 2024
1 parent 4e6bf01 commit 48044ed
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
17 changes: 17 additions & 0 deletions quickstart/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,24 @@ services:
- ../quickstart/:/home/logprep/quickstart/
entrypoint:
- logprep
- run
- /home/logprep/quickstart/exampledata/config/pipeline.yml
http-input:
build:
context: ..
image: logprep
container_name: http-input
profiles:
- http-input
expose:
- 8002
network_mode: host
volumes:
- ../quickstart/:/home/logprep/quickstart/
entrypoint:
- logprep
- run
- /home/logprep/quickstart/exampledata/config/http_pipeline.yml
grafana:
image: bitnami/grafana:latest
container_name: grafana
Expand Down
2 changes: 1 addition & 1 deletion quickstart/exampledata/config/http_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 1

metrics:
enabled: true
port: 8000
port: 8002

input:
httpinput:
Expand Down
9 changes: 3 additions & 6 deletions quickstart/exampledata/config/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ metrics:
pipeline:
- dissector:
type: dissector
specific_rules:
- quickstart/exampledata/rules/030_dissector/rules_specific/
specific_rules: []
generic_rules:
- quickstart/exampledata/rules/030_dissector/rules_generic/

- grokker:
type: grokker
specific_rules:
- quickstart/exampledata/rules/035_grokker/rules_specific/
generic_rules:
- quickstart/exampledata/rules/035_grokker/rules_generic/
generic_rules: []

- field_manager_a:
type: field_manager
Expand All @@ -42,8 +40,7 @@ pipeline:
type: timestamper
specific_rules:
- quickstart/exampledata/rules/043_timestamper/rules_specific/
generic_rules:
- quickstart/exampledata/rules/043_timestamper/rules_generic/
generic_rules: []

- calculator:
type: calculator
Expand Down
2 changes: 1 addition & 1 deletion quickstart/exampledata/config/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ scrape_configs:
- targets: ["localhost:9090"]
- job_name: "logprep"
static_configs:
- targets: ["localhost:8000", "localhost:8001"]
- targets: ["localhost:8001", "localhost:8002"]
- job_name: "kafka"
metrics_path: "/metrics"
static_configs:
Expand Down

0 comments on commit 48044ed

Please sign in to comment.