Skip to content

Commit

Permalink
Add back missing process command-line fields (#8258) (#8262)
Browse files Browse the repository at this point in the history
The fields `cmdline` and `client_cmdline`, that were recently added to
packetbeat, were missing as the feature was merged in parallel to a
refactor of the fields generation.

(cherry picked from commit a84e51a)
  • Loading branch information
adriansr authored Sep 10, 2018
1 parent 05437d3 commit b721401
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ https://github.com/elastic/beats/compare/v6.4.0...6.4[Check the HEAD diff]

- Fixed a seccomp related error where the `fcntl64` syscall was not permitted
on 32-bit Linux and the sniffer failed to start. {issue}7839[7839]
- Added missing `cmdline` and `client_cmdline` fields to index template. {pull}8258[8258]

*Winlogbeat*

Expand Down
8 changes: 8 additions & 0 deletions packetbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,18 @@
description: >
The name of the process that served the transaction.
- name: cmdline
description: >
The command-line of the process that served the transaction.
- name: client_proc
description: >
The name of the process that initiated the transaction.
- name: client_cmdline
description: >
The command-line of the process that initiated the transaction.
- name: release
description: >
The software release of the service serving the transaction.
Expand Down
16 changes: 16 additions & 0 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,14 @@ The layer 4 port of the process that served the transaction.
The name of the process that served the transaction.
--
*`cmdline`*::
+
--
The command-line of the process that served the transaction.
--
*`client_proc`*::
Expand All @@ -1499,6 +1507,14 @@ The name of the process that served the transaction.
The name of the process that initiated the transaction.
--
*`client_cmdline`*::
+
--
The command-line of the process that initiated the transaction.
--
*`release`*::
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/include/fields.go

Large diffs are not rendered by default.

0 comments on commit b721401

Please sign in to comment.