Skip to content

Commit

Permalink
[network_traffic] Set title to Network Packet Capture (elastic#1764)
Browse files Browse the repository at this point in the history
Set the title of the integration to "Network Packet Capture".

Also add config options for `timeout` and `period` to the `flow` data stream.
  • Loading branch information
andrewkroh authored Sep 27, 2021
1 parent 122ae13 commit 9de3a57
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/network_traffic/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Network Traffic Integration
# Network Packet Capture Integration

This integration sniffs network packets on a host and dissects
known protocols.
Expand Down
5 changes: 5 additions & 0 deletions packages/network_traffic/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.3.0"
changes:
- description: Change title to Network Packet Capture. Added timeout/period config to flows data stream.
type: enhancement
link: https://github.com/elastic/integrations/pull/1764
- version: "0.2.2"
changes:
- description: Requires version 7.14.1 of the stack
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
type: flow
{{#if timeout}}
flows.timeout: '{{timeout}}'
{{/if}}
{{#if period}}
flows.period: '{{period}}'
{{/if}}
{{#if processes}}
procs:
enabled: true
Expand Down
15 changes: 15 additions & 0 deletions packages/network_traffic/data_stream/flow/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,18 @@ streams:
title: Flows
description: Track Network Flows
template_path: flow.yml.hbs
vars:
- name: period
type: text
title: Period
required: false
show_user: false
description: Configure the reporting interval. All flows are reported at the very same point in time. Periodical reporting can be disabled by setting the value to -1. If disabled, flows are still reported once being timed out.
default: '10s'
- name: timeout
type: text
title: Flow timeout
description: Timeout configures the lifetime of a flow. If no packets have been received for a flow within the timeout time window, the flow is killed and reported.
required: false
show_user: false
default: '30s'
2 changes: 1 addition & 1 deletion packages/network_traffic/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Network Traffic Integration
# Network Packet Capture Integration

This integration sniffs network packets on a host and dissects
known protocols.
Expand Down
12 changes: 6 additions & 6 deletions packages/network_traffic/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
format_version: 1.0.0
name: network_traffic
title: Network Traffic
version: 0.2.2
title: Network Packet Capture
version: 0.3.0
license: basic
description: This Elastic integration sniffs Network Traffic
description: This Elastic integration captures and analyzes network traffic.
type: integration
categories:
- web
Expand All @@ -12,11 +12,11 @@ conditions:
kibana.version: "^7.14.1"
policy_templates:
- name: network
title: Network Traffic
description: Collect network traffic
title: Network Packet Capture
description: Capture network traffic
inputs:
- type: packet
title: Collect network traffic
title: Capture network traffic
description: Collecting network traffic
vars:
- name: interface
Expand Down

0 comments on commit 9de3a57

Please sign in to comment.