Skip to content

Commit

Permalink
[juniper_junos]: include log.file.device_id and log.file.inode in bas…
Browse files Browse the repository at this point in the history
…e-fields (elastic#9657)

* fix(juniper_junos): include log.file.device_id and log.file.inode in base-fields.yml

* fix(juniper_junos): update README.md
  • Loading branch information
pkoutsovasilis committed Apr 24, 2024
1 parent 122c0a1 commit f187d0d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/juniper_junos/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.10.2"
changes:
- description: Define missing fields
type: bugfix
link: https://github.com/elastic/integrations/pulls/9657
- version: "0.10.1"
changes:
- description: Changed owners
Expand Down
6 changes: 6 additions & 0 deletions packages/juniper_junos/data_stream/log/fields/base-fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
example: /var/log/fun-times.log
ignore_above: 1024
type: keyword
- name: log.file.device_id
description: Device Id of the log file this event came from.
type: keyword
- name: log.file.inode
type: keyword
description: Inode of the log file this event came from.
- name: log.source.address
description: Source address from which the log event was read / sent from.
type: keyword
Expand Down
2 changes: 2 additions & 0 deletions packages/juniper_junos/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ An example event for `log` looks as following:
| http.request.method | HTTP request method. The value should retain its casing from the original event. For example, `GET`, `get`, and `GeT` are all considered valid values for this field. | keyword |
| http.request.referrer | Referrer for this HTTP request. | keyword |
| input.type | Type of Filebeat input. | keyword |
| log.file.device_id | Device Id of the log file this event came from. | keyword |
| log.file.inode | Inode of the log file this event came from. | keyword |
| log.file.path | Full path to the log file this event came from. | keyword |
| log.flags | Flags for the log file. | keyword |
| log.level | Original log level of the log event. If the source of the event provides a log level or textual severity, this is the one that goes in `log.level`. If your source doesn't specify one, you may put your event transport's severity here (e.g. Syslog severity). Some examples are `warn`, `err`, `i`, `informational`. | keyword |
Expand Down
2 changes: 1 addition & 1 deletion packages/juniper_junos/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: juniper_junos
title: Juniper JunOS (Deprecated)
version: "0.10.1"
version: "0.10.2"
description: Deprecated. Use the Juniper SRX package instead.
categories: ["network", "security"]
release: experimental
Expand Down

0 comments on commit f187d0d

Please sign in to comment.