Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PB-1351 Add service-control data stream #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/ppbgdi/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.0.1"
changes:
- description: Add service control log parsing
type: enhancement
link: https://github.com/geoadmin/infra-elastic-integrations/pull/32
- version: "1.0.0"
changes:
- description: Enhance cloudfront realtime log parsing
Expand Down
5 changes: 5 additions & 0 deletions packages/ppbgdi/data_stream/python_logs/routing_rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,8 @@
namespace:
- "{{data_stream.namespace}}"
- default
- target_dataset: ppbgdi.service_control_logs
if: ctx?.service?.name != null && ctx?.service?.name == 'service-control'
namespace:
- "{{data_stream.namespace}}"
- default
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- name: data_stream.type
type: constant_keyword
description: Data stream type.
- name: data_stream.dataset
type: constant_keyword
description: Data stream dataset.
- name: data_stream.namespace
type: constant_keyword
description: Data stream namespace.
- name: '@timestamp'
type: date
description: Event timestamp.
13 changes: 13 additions & 0 deletions packages/ppbgdi/data_stream/service_control_logs/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: "Service Control Logs"
type: logs
streams:
- input: logfile
title: Sample logs
description: Collect sample logs
vars:
- name: paths
type: text
title: Paths
multi: true
default:
- /var/log/*.log
2 changes: 1 addition & 1 deletion packages/ppbgdi/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.1.1
name: ppbgdi
title: "PPBGDI"
version: 1.0.0
version: 1.0.1
source:
license: "Apache-2.0"
description: "Collect logs and metrics from PPBGDI, via kubernetes or Elastic Agent"
Expand Down