Find Jobs
Hire Freelancers

AWS S3 :: PHP script that parses log files

$30-250 USD

Në vazhdim
Postuar over 14 years ago

$30-250 USD

Paguhet në dorëzim
I need a PHP script that fetches log files from a given S3 bucket, and then parses values into an array I can use for different purposes. The script should be based on the [Amazon S3 PHP class] to download/delete/move log files on the remote S3 Bucket, so what I need is just a PHP script that executes the [S3 PHP Class] and parses and handles the log files using regex and other fancy php features. If you suggest another way to accomplish this, please collaborate. [Script work flow:] 1. Initialize Amazon S3 PHP class 2. Set bucket name from: $_POST['bucket']; ($bucket = $_POST['bucket'];) 3. Set log file prefix from: $_POST['logfileprefix']; ($prefix = $_POST['logfileprefix'];) 4. Download all log files that are present in [$bucket], based on the file prefix [$prefix] ($prefix can for example be: "logfile_") into a sub folder of the script it self. 5. Move all log files that were downloaded from the $bucket folder and into a sub folder of the given bucket, so they are not processed next time the script runs. ($bucket."/processed_single_log_files") 6. To make the parsing job easy, I suggest compacting all log files into one big log file, before parsing it. 7. Start parsing the log files. They are "space" separated as far as I know. Check this link from Amazon AWS to learn more about the log format: [login to view URL] 8. a For each line/loop - I need all the values/fields available in an array, so I can properly insert each line into a MySQL database. 8. b For each line/loop - I need a incremental $string/$integer that sums the total "Bytes Sent" (from the "Bytes Sent" column) for all the lines. 9. Upload the "compacted" file to a sub folder of $bucket, ($bucket."/processed_compacted_log_files") 10. You shall not covet anything that belongs to your neighbor If you have no idea what S3 or AWS, don't bid. I need this done fast.
ID e Projektit: 560195

Rreth projektit

3 propozime
Projekt në distancë
Aktive 14 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
Sounds fairly easy. I love Amazon EC2.
$50 USD në 1 ditë
5,0 (1 review)
2,0
2,0
3 profesionistët e pavarur ofrojnë mesatarisht $200 USD oferta për këtë punë
Avatari i Përdoruesit
pls chk pmb
$300 USD në 5 ditë
4,9 (525 përshtypje)
7,8
7,8
Avatari i Përdoruesit
please see my message in PMB for details, thanks
$250 USD në 7 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i NORWAY
1169, Norway
5,0
12
Mënyra e pagesës u verifikua
Anëtar që nga mar 21, 2008

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.