Skip to content

Commit

Permalink
[Cisco Meraki] initial split of meraki and cisco package (#1587)
Browse files Browse the repository at this point in the history
* initial split of meraki and cisco package

* update changelog and version

* update readme
  • Loading branch information
P1llus authored Sep 9, 2021
1 parent c5005b6 commit 6422a53
Show file tree
Hide file tree
Showing 24 changed files with 14,825 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cisco_meraki/_dev/build/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
ecs:
reference: [email protected]
16 changes: 16 additions & 0 deletions packages/cisco_meraki/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Cisco Meraki Integration

This integration is for Cisco Meraki device's logs. It includes the following
datasets for receiving logs over syslog or read from a file:

- `log` dataset: supports Cisco Meraki logs.

## Logs

### Meraki

The `log` dataset collects Cisco Meraki logs.

{{event "log"}}

{{fields "log"}}
18 changes: 18 additions & 0 deletions packages/cisco_meraki/_dev/deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: "2.3"
services:
cisco-logfile:
image: alpine
volumes:
- ./sample_logs:/sample_logs:ro
- ${SERVICE_LOGS_DIR}:/var/log
command: /bin/sh -c "cp /sample_logs/* /var/log/"
cisco-meraki-udp:
image: docker.elastic.co/observability/stream:v0.5.0
volumes:
- ./sample_logs:/sample_logs:ro
command: log --start-signal=SIGHUP --delay=5s --addr elastic-agent:9514 -p=udp /sample_logs/cisco-meraki.log
cisco-meraki-tcp:
image: docker.elastic.co/observability/stream:v0.5.0
volumes:
- ./sample_logs:/sample_logs:ro
command: log --start-signal=SIGHUP --delay=5s --addr elastic-agent:9514 -p=tcp /sample_logs/cisco-meraki.log
100 changes: 100 additions & 0 deletions packages/cisco_meraki/_dev/deploy/docker/sample_logs/cisco-meraki.log

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions packages/cisco_meraki/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# newer versions go on top
- version: "0.1.0"
changes:
- description: Initial commit splitting Cisco meraki from general Cisco package
type: enhancement
link: https://github.com/elastic/integrations/pull/1587

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dynamic_fields:
event.ingested: ".*"
fields:
tags:
- preserve_original_event
Loading

0 comments on commit 6422a53

Please sign in to comment.