Find Jobs
Hire Freelancers

Analyze logfile & take action, Linux Scripting

$30-250 USD

Concluído
Publicado há mais de 10 anos

$30-250 USD

Pago na entrega
There is an application running which generates log file. We need to create some script which will check for errors in the logfile do the following: 1. Tail last 10 minutes of log file |grep only the rows which contain specific word 2. from the output we need to fetch 2 variables - "username" & "IP", as it is both variables we need to sed next words after specific patterns 3. the output will look like user1 1.1.1.1 user2 2.2.2.2 user3 3.3.3.3 user1 1.1.1.1 user4 4.4.4.4 4. If the username exists more than "X" times in the final output take action - ban IP for specific time & send email to email address fetched from db mysql [login to view URL] where username = $user & write some info to mysql [login to view URL] where username = $user The script must be optimized, not memory or cpu hungry, will be run each 10 min in cron job, so please only experienced users who know what to do. thank you
ID do Projeto: 5240553

Sobre o projeto

8 propostas
Projeto remoto
Ativo há 10 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
Hello, I will be glad to wire a script for you. For this I will need: 1. example of log file 2. dump of database 3. Installed firewall on server (CSF, iptables, lfd?) Regards, Alex_ks
$56 USD em 0 dia
5,0 (3 avaliações)
1,5
1,5
8 freelancers estão ofertando em média $105 USD for esse trabalho
Avatar do Usuário
Hello I'm linux system engineer with more than 8 years of production experience, familiar with such kind of work. I can help you fast and quality. Regards, Tony
$100 USD em 2 dias
5,0 (72 avaliações)
5,7
5,7
Avatar do Usuário
Hello, I work as a Linux/Unix system administrator for the past 10 years and have all the necessary skills and hands-on experience to complete the task. Hope to hear from you soon.
$66 USD em 1 dia
5,0 (11 avaliações)
3,9
3,9
Avatar do Usuário
PMB Please...
$230 USD em 5 dias
5,0 (11 avaliações)
3,8
3,8
Avatar do Usuário
Hello there. I'm an experienced linux system administrator and I can write the script you need quickly and well documented. Please feel free to contact me if you've any question. Best regards.
$111 USD em 2 dias
5,0 (4 avaliações)
3,2
3,2
Avatar do Usuário
looks like you definitelly know what do you need, it is good for both of us. I believe I can help you, It will not be too long, I guess 1..2 days. Please give me a sample of source log. Thank you.
$111 USD em 3 dias
5,0 (2 avaliações)
2,6
2,6
Avatar do Usuário
hi I am experience. programmer. I have expertise in c cpp perl Linux and kava. I can do your this work easy in perl scripting. I have also experience in mysql and familiar with cron job.
$155 USD em 3 dias
5,0 (1 avaliação)
2,3
2,3
Avatar do Usuário
Does the logfile contain timestamps because if not the "Tail last 10 minutes of log file" is not possible. If you mean go through all the lines since last check then this can be accomplished in another way (by checking inode for filechange and saving a file offset pointer upon runs). I also think it would be better to write this script in perl/python instead of the shell.
$40 USD em 7 dias
5,0 (2 avaliações)
2,1
2,1

Sobre o cliente

Bandeira do(a) THAILAND
Bangkok, Thailand
5,0
14
Membro desde out. 29, 2013

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.