-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cisco Meraki] initial split of meraki and cisco package (#1587)
* initial split of meraki and cisco package * update changelog and version * update readme
- Loading branch information
Showing
24 changed files
with
14,825 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dependencies: | ||
ecs: | ||
reference: [email protected] |
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,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
18
packages/cisco_meraki/_dev/deploy/docker/docker-compose.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,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
100
packages/cisco_meraki/_dev/deploy/docker/sample_logs/cisco-meraki.log
Large diffs are not rendered by default.
Oops, something went wrong.
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,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 |
100 changes: 100 additions & 0 deletions
100
packages/cisco_meraki/data_stream/log/_dev/test/pipeline/test-generated.log
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
packages/cisco_meraki/data_stream/log/_dev/test/pipeline/test-generated.log-config.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,5 @@ | ||
dynamic_fields: | ||
event.ingested: ".*" | ||
fields: | ||
tags: | ||
- preserve_original_event |
Oops, something went wrong.