Skip to content

Commit

Permalink
[Oracle] Fixing default values for paths in config template (#26276)
Browse files Browse the repository at this point in the history
* fixing some typos in the default oracle config, and adding default values

* adding changelog entry
  • Loading branch information
P1llus authored Jun 14, 2021
1 parent bfbadaa commit 81e5cc0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix integer overflow in S3 offsets when collecting very large files. {pull}22523[22523]
- Fix CredentialsJSON unpacking for `gcp-pubsub` and `httpjson` inputs. {pull}23277[23277]
- Fix issue with m365_defender, when parsing incidents that has no alerts attached: {pull}25421[25421]
- Fix default config template values for paths on oracle module: {pull}26276[26276]

*Filebeat*

Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ filebeat.modules:

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

#------------------------------- Osquery Module -------------------------------
- module: osquery
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/module/oracle/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

# Set paths for the log files when file input is used.
# Should only be used together with file input
# var.paths: /home/user/oracleauditlogs/*.aud
#var.paths: ["/home/user/oracleauditlogs/*.aud"]
5 changes: 4 additions & 1 deletion x-pack/filebeat/module/oracle/database_audit/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
module_version: 1.0

var:
- name: paths
default:
- /home/user/oracleauditlogs/*.aud
- name: tags
default: [oracle-database-audit]
- name: input
default: file

ingest_pipeline:
- ingest/pipeline.yml
input: config/config.yml
input: config/config.yml
2 changes: 1 addition & 1 deletion x-pack/filebeat/modules.d/oracle.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

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

0 comments on commit 81e5cc0

Please sign in to comment.