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
…26281)

* fixing some typos in the default oracle config, and adding default values

* adding changelog entry

(cherry picked from commit 81e5cc0)

Co-authored-by: Marius Iversen <marius.iversen@elastic.co>
  • Loading branch information
mergify[bot] and P1llus authored Jun 14, 2021
1 parent 4564e02 commit a1391b3
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 @@ -224,6 +224,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix o365 module config when client_secret contains special characters. {issue}25058[25058]
- Fix issue with m365_defender, when parsing incidents that has no alerts attached: {pull}25421[25421]
- Improve inode reuse handling by removing state for removed files more eagerly from the internal state table in the logs inputs. {pull}25756[25756]
- 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 a1391b3

Please sign in to comment.