Skip to content
/ press Public

Data transformer, from null separated XML documents to CSV files

Notifications You must be signed in to change notification settings

nataren/press

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

  1. Go

How to run this

  1. Using a bash terminal either: go run press.go --dir={PATH_TO_DIRECTORY_WITH_LOG_FILES} or ./bin/press --dir={PATH_TO_DIRECTORY_WITH_LOG_FILES}

Output

  1. You will find newly created {FILENAME}.log.csv files based on the original log files

Todo

  1. Add a --output flag that will indicate the directory where the newly created files will be stored.

Notes

  1. The event/request/parameters/param elements are concatenated as a single value for the column request.parameters with the format paramName1:paramValue1;paramName2:paramValue2;...
  2. The event/tags-added/tag elements are concatenaed as a single value for the column tags.added with the format tagName1^tagType1;tagName2^tagType2;...
  3. The event/tags-removed/tag elements are concatenaed as a single value for the column tags.removed with the format tagName1^tagType1;tagName2^tagType2;...
  4. Value items that contain commas are handled properly.
  5. Use the 'any' column to identify any data element that we are not properly unmarshalling.

About

Data transformer, from null separated XML documents to CSV files

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages