Find Jobs
Hire Freelancers

AWS S3 :: PHP script that parses log files

$30-250 USD

処理中
投稿日: 14年以上前

$30-250 USD

完了時にお支払い
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: 560195

プロジェクトについて

3個の提案
リモートプロジェクト
アクティブ 14年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Sounds fairly easy. I love Amazon EC2.
$50 USD 1日以内
5.0 (1 レビュー)
2.0
2.0
この仕事に3人のフリーランサーが、平均$200 USDで入札しています
ユーザーアバター
pls chk pmb
$300 USD 5日以内
4.9 (525 レビュー)
7.8
7.8
ユーザーアバター
please see my message in PMB for details, thanks
$250 USD 7日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

NORWAYのフラグ
1169, Norway
5.0
12
お支払い方法確認済み
メンバー登録日:3月 21, 2008

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。