Skip to content
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

Year insertion logic for ConvertTimestamp command #444

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant