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

add Windows Event Log message strings support #99

Closed
joachimmetz opened this issue Jan 29, 2015 · 4 comments
Closed

add Windows Event Log message strings support #99

joachimmetz opened this issue Jan 29, 2015 · 4 comments
Assignees
Labels
enhancement New or improved functionality

Comments

@joachimmetz
Copy link
Member

  • use winevt-rc.db to read and format Windows Event Log message strings at the formatting phase
@joachimmetz joachimmetz added the enhancement New or improved functionality label Jan 29, 2015
@joachimmetz joachimmetz self-assigned this Jan 29, 2015
@joachimmetz
Copy link
Member Author

Preparations:

Add formatter mediator:

Add initial winevt-rc support:

After care:

Future enhancements are now tracked in: #163

@joachimmetz
Copy link
Member Author

Issue with the formatting of some messages due to spurious '{':

Fix "More than one value found in database." issue:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/plaso/formatters/winevtx.py", line 59, in GetMessages
    event_values[u'message_string'] = message_string.format(*strings)
KeyError: u'Reason'
SELECT * FROM event_log_providers WHERE log_source == 'Microsoft-Windows-Eventlog';
154|Microsoft-Windows-Eventlog|System|{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}
378|Microsoft-Windows-Eventlog|Security|{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}

So the reason for the duplicate is the log_type. Created: libyal/winevt-kb#7 to track adding support.

@joachimmetz
Copy link
Member Author

Pending fixes/changes: http://codereview.appspot.com/216000043

@joachimmetz
Copy link
Member Author

Documentation pending review and release. Moved improvement to a separate issues. Hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New or improved functionality
Projects
None yet
Development

No branches or pull requests

1 participant