-
Notifications
You must be signed in to change notification settings - Fork 451
[cisco_ise] Add Support of Timezone Configuration Parameter #13540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ vars: | |
data_stream: | ||
vars: | ||
listen_port: 9025 | ||
tz_offset: +05:00 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ vars: | |
data_stream: | ||
vars: | ||
listen_port: 9026 | ||
tz_offset: +05:00 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,9 +62,17 @@ processors: | |
if: ctx.host?.hostname != null | ||
allow_duplicates: false | ||
ignore_failure: true | ||
- rename: | ||
field: _conf.tz_offset | ||
target_field: event.timezone | ||
if: ctx._conf?.tz_offset != null | ||
tag: rename_tz_offset | ||
ignore_missing: true | ||
- rename: | ||
field: _tmp.timezone | ||
tag: rename_tmp_timezone | ||
target_field: event.timezone | ||
if: ctx.event?.timezone == null # If user has not provided the timezone offset. | ||
ignore_missing: true | ||
Comment on lines
+65
to
76
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So this will give the configuration priority over a time zone seen in a log, is this intended behavior? In other Cisco integrations, the priority is log, then configuration. Should we reverse the order here so the log time zone is given priority and if it isn't present, then we use the time zone from configuration? |
||
- date: | ||
field: _tmp.timestamp | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.