Skip to content

Year insertion logic for ConvertTimestamp command#444

Open
tmgstevens wants to merge 1 commit intokite-sdk:masterfrom
tmgstevens:KITE-1123
Open

Year insertion logic for ConvertTimestamp command#444
tmgstevens wants to merge 1 commit intokite-sdk:masterfrom
tmgstevens:KITE-1123

Conversation

@tmgstevens
Copy link
Contributor

ConvertTimestamp doesn't have any capability to add missing years (for example in Syslog dates). As such, the example at http://kitesdk.org/docs/1.1.0/morphlines/#SyslogUseCase-Solution will have all imported dates set to 1970.

This code adds a feature to convertTimestamp to add a missing year if required, with logic to handle year rollover scenarios using a configurable sliding window (defaults to 11 months in the past, 1 in the future)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant