This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This gist includes hive ql scripts to create an external partitioned table for Syslog | |
| generated log files using regex serde; | |
| Usecase: Count the number of occurances of processes that got logged, by year, month, | |
| day and process. | |
| Includes: | |
| --------- | |
| Sample data and structure: 01-SampleDataAndStructure | |
| Data download: 02-DataDownload | |
| Data load commands: 03-DataLoadCommands |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This gist includes a mapper, reducer and driver in java that can parse log files using | |
| regex; The code for combiner is the same as reducer; | |
| Usecase: Count the number of occurances of processes that got logged, inception to date. | |
| Includes: | |
| --------- | |
| Sample data and scripts for download:01-ScriptAndDataDownload | |
| Sample data and structure: 02-SampleDataAndStructure | |
| Mapper: 03-LogEventCountMapper.java | |
| Reducer: 04-LogEventCountReducer.java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This gist includes a mapper and reducer in python that can parse log files using | |
| regex; Usecase: Count the number of occurances of processes that got logged by month. | |
| Includes: | |
| --------- | |
| Sample data | |
| Review of log data structure | |
| Sample data and scripts for download | |
| Mapper | |
| Reducer |
NewerOlder