Python script to parse Apache server logs
- or -
Post a project like this2761
$150
- Posted:
- Proposals: 6
- Remote
- #1264027
- Awarded
Python and Django expert, IT strategy consultant, and internal cloud for SMEs
Royal Leamington Spa
20883451154958988124077412433181353903
Description
Experience Level: Expert
General information for the business: Marketing
Description of requirements/functionality: I need someone to write a script that parses log files using python and writes a series of parameters to a table.
Something like this:
[27/Aug/2016:16:10:26 -0400] 66.87.122.201 ["server"] "pixel.host" "GET /images/pixel.gif?nonmemberpageview&ID=2a688060-4819-405c-bc8e-0195c8705234&pid=NA&ordId=NA&amt=NA&provID=NA&bust=1472328626 HTTP/1.1" 200 49 971 "https://www.somesite.com/list/us/8953373" "Mozilla/5.0 (Linux; Android 4.4.4; en-us; SAMSUNG SM-N910P Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Version/2.0 Chrome/34.0.1847.76 Mobile Safari/537.36" "-" "-"
The script would need to retrieve the time stamp, the IP, the user agent information, and all of the parameters after the equals signs and write them to a table that is selected by one of the parameters in the request. That is, different requests will be parsed and written to different tables based on a definitional value in the request.
The code needs to be professionally written and fast using the latest version of Python (3.5.2). It will be checked and tested by a python engineer before the entire payment is released.
Specific technologies required: Python
Extra notes:
Description of requirements/functionality: I need someone to write a script that parses log files using python and writes a series of parameters to a table.
Something like this:
[27/Aug/2016:16:10:26 -0400] 66.87.122.201 ["server"] "pixel.host" "GET /images/pixel.gif?nonmemberpageview&ID=2a688060-4819-405c-bc8e-0195c8705234&pid=NA&ordId=NA&amt=NA&provID=NA&bust=1472328626 HTTP/1.1" 200 49 971 "https://www.somesite.com/list/us/8953373" "Mozilla/5.0 (Linux; Android 4.4.4; en-us; SAMSUNG SM-N910P Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Version/2.0 Chrome/34.0.1847.76 Mobile Safari/537.36" "-" "-"
The script would need to retrieve the time stamp, the IP, the user agent information, and all of the parameters after the equals signs and write them to a table that is selected by one of the parameters in the request. That is, different requests will be parsed and written to different tables based on a definitional value in the request.
The code needs to be professionally written and fast using the latest version of Python (3.5.2). It will be checked and tested by a python engineer before the entire payment is released.
Specific technologies required: Python
Extra notes:
Joel A.
100% (10)Projects Completed
14
Freelancers worked with
12
Projects awarded
50%
Last project
7 Jul 2019
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies