Skip to content

Commit 81e5cc0

Browse files
authored
[Oracle] Fixing default values for paths in config template (#26276)
* fixing some typos in the default oracle config, and adding default values * adding changelog entry
1 parent bfbadaa commit 81e5cc0

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
280280
- Fix integer overflow in S3 offsets when collecting very large files. {pull}22523[22523]
281281
- Fix CredentialsJSON unpacking for `gcp-pubsub` and `httpjson` inputs. {pull}23277[23277]
282282
- Fix issue with m365_defender, when parsing incidents that has no alerts attached: {pull}25421[25421]
283+
- Fix default config template values for paths on oracle module: {pull}26276[26276]
283284

284285
*Filebeat*
285286

x-pack/filebeat/filebeat.reference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ filebeat.modules:
17591759

17601760
# Set paths for the log files when file input is used.
17611761
# Should only be used together with file input
1762-
# var.paths: /home/user/oracleauditlogs/*.aud
1762+
#var.paths: ["/home/user/oracleauditlogs/*.aud"]
17631763

17641764
#------------------------------- Osquery Module -------------------------------
17651765
- module: osquery

x-pack/filebeat/module/oracle/_meta/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
# Set paths for the log files when file input is used.
99
# Should only be used together with file input
10-
# var.paths: /home/user/oracleauditlogs/*.aud
10+
#var.paths: ["/home/user/oracleauditlogs/*.aud"]
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
module_version: 1.0
22

33
var:
4+
- name: paths
5+
default:
6+
- /home/user/oracleauditlogs/*.aud
47
- name: tags
58
default: [oracle-database-audit]
69
- name: input
710
default: file
811

912
ingest_pipeline:
1013
- ingest/pipeline.yml
11-
input: config/config.yml
14+
input: config/config.yml

x-pack/filebeat/modules.d/oracle.yml.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
# Set paths for the log files when file input is used.
1212
# Should only be used together with file input
13-
# var.paths: /home/user/oracleauditlogs/*.aud
13+
#var.paths: ["/home/user/oracleauditlogs/*.aud"]

0 commit comments

Comments
 (0)