Skip to content

Commit

Permalink
Sync changes from Cisco ASA / FTD
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed Jan 11, 2021
1 parent c422289 commit 4c4bad2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ processors:
# Parse the date included in FTD logs
#
- date:
if: "ctx.event.timezone == null"
if: "ctx.event?.timezone == null && ctx._temp_?.raw_date != null"
field: "_temp_.raw_date"
target_field: "@timestamp"
formats:
Expand Down Expand Up @@ -103,7 +103,7 @@ processors:
},
]
- date:
if: "ctx.event.timezone != null"
if: "ctx.event?.timezone != null && ctx._temp_?.raw_date != null"
timezone: "{{ event.timezone }}"
field: "_temp_.raw_date"
target_field: "@timestamp"
Expand Down

0 comments on commit 4c4bad2

Please sign in to comment.