Find Jobs
Hire Freelancers

Log collector shell script

€30-250 EUR

Concluído
Publicado há mais de 5 anos

€30-250 EUR

Pago na entrega
The assignment is to create a log collector shell script that reads csv-formatted log events from stdin and publishes them in json format to a remote server via HTTP requests. The functional requirements are as follows: -The script is launched by a daemon process which constantly writes event records to stdin of the script. -The script buffers records until either the buffer size exceeds x records or x seconds has elapsed since first record in the buffer. -When the buffer is flushed, the records are sent to remote server via HTTP POST request (using curl) -Input is in csv format (i.e value1,value2,value3 ...). Some fields are transformed using lookup maps and then mapped to a json record (i.e {"field1": "transformedValue1", "field2": "value2", "field3": "transformedValue3"...}). Payload of the POST request is a json array of the records. -If record mapping fails (i.e field value not found in lookup map when transforming a value), the record is ignored. -If flushing fails due to network error, the script should keep retrying until it succeeds. -If flushing fails due to request error (HTTP status other than 200), the script should write error reason to stderr and exit. -The script should not continue reading from stdin until the buffer is flushed succesfully -The script accepts remote server address and an authentication token (passed as a header with the POST requests) via command line arguments. Other configurations are defined as constants in the beginning of the script.
ID do Projeto: 17867449

Sobre o projeto

7 propostas
Projeto remoto
Ativo há 5 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
I am master in Bash, and have worked with everything you mentioned in your description - csv, json, POST-ing, etc.
€60 EUR em 1 dia
4,9 (171 avaliações)
6,3
6,3
7 freelancers estão ofertando em média €147 EUR for esse trabalho
Avatar do Usuário
Hello, Not sure if I understood your requirement fully. The base requirement is clear like you need to collect data from a csv and push into a remote http server. That can be easily done - by the way do you have endpoints properly configured to use CURL to send data as HTTP/POST ? Also, the buffer part is not clear. By the way, you can refer my profile and if interested please contact me. I am confident in writing shell scripts thats why i bid even though there is some complications in buffer part. Thank You
€111 EUR em 4 dias
5,0 (17 avaliações)
3,8
3,8
Avatar do Usuário
Hello! I can help you to develop a log collector shell script according to your requirements. As for me I'm a professional system admin with 10+ years of experience. Check my reviews. Recently I've successfully completed several projects where created various bash and shell scripts. See references below: - script that can automatically install LAMP on Linux servers https://www.freelancer.com/projects/linux/Bash-script-setup-LAMP-stack/ - script that automatically creates proxy servers https://www.freelancer.com/projects/linux/Detailed-Guide-setup-proxies-IPv/ https://www.freelancer.com/projects/php/Squid-Proxy-Script-Multiple-with/ https://www.freelancer.com/projects/linux/Guide-Script-making-rotating-web/ https://www.freelancer.com/projects/linux/Proxy-script-with-luminati/ I'm a real expert on this. I can help you too. Let's discuss the details in private chat. Feel free to contact me.
€155 EUR em 3 dias
5,0 (2 avaliações)
4,0
4,0
Avatar do Usuário
hi Can i develope it in php-cgi? It is simple - I can use #!/usr/bin/php or something similar in the start of script and chmod 7 to file - and it will work as shell script - it will be simple for me about some ideas from Your description - i really didnt understood about websocket of script - how it must work and what to do? Can we chat about it?
€170 EUR em 2 dias
5,0 (1 avaliação)
3,8
3,8
Avatar do Usuário
Hello, sir Your job is exciting me. Let me do this job for you now just to prove my expertise in this field. Hope I could awake you interest in me. I am always online, work hard and very sensitive to details. Thanks for your attention.
€155 EUR em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hello I am working in scripting technologies for 20 years. I worked in various shells c, korn, bash in various Unix system. Can you please share the URL and sample log file to parse and output format etc? Thanks!
€220 EUR em 3 dias
0,0 (0 avaliações)
1,8
1,8
Avatar do Usuário
I can do it .r
€155 EUR em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) ESTONIA
Tallinn, Estonia
5,0
1
Método de pagamento verificado
Membro desde set. 30, 2018

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.