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

Update aggregator to new format #10

Open
florence opened this issue Apr 6, 2013 · 1 comment
Open

Update aggregator to new format #10

florence opened this issue Apr 6, 2013 · 1 comment

Comments

@florence
Copy link

florence commented Apr 6, 2013

Please update the README when this is done.

The aggregator should parse log files containing lines with the following format:

<HOST>:<EVT-TYPE>:<HOST-TYPE>:<TIME>:<TTY>

<HOST> := some string
<EVT-TYPE> := login
                      |  logout
<HOST-TYPE> := CCIS-WINDOWS
                        |   LINUX-LOCAL
                        |   LINUX-REMOTE 
<TIME> := unix timestamp
<TTY>   := ttyN
             |   ptsN

Where N is a number. All hosts of type CCIS-WINDOWS should have a 'tty0'

When put into the backend all records should be considered unique, so we need to make sure no duplicate data is uploaded

@florence
Copy link
Author

Change to the format (again):
{host:,evt-type:,host-type:,time:,tty:} (ie JSON format)
The TTY field is optional. It will not be present for windows, and will be for linux. If it is not present interpret it as some 'undefined' value.

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

No branches or pull requests

1 participant