Find Jobs
Hire Freelancers

Develop Small PowerShell Script to Parse Log Files

$10-30 USD

Finalizat
Data postării: peste 5 ani în urmă

$10-30 USD

Plata la predare
Looking for someone to create a PowerShell script which loops through all XML log files in a defined directory. If the filename contains “request” and the RequestCommand is “GetSessions” then extract the data for the tags defined below and insert the values into a SQL table. Looking for someone that could complete this today. I will provide example log files to work with. LogDirectory = C:\Logs ProcessedLogDirectory= LogDirectory\Processed SQLServer = localhost Logic 1.) Loop through all XML log files in the LogDirectory (do not include sub-directories) 2.) If the filename contains "request" then proceed with processing. If not, move the file to ProcessedLogDirectory. 3.) If the file contains <RequestCommand>GetSessions</RequestCommand> then proceed with processing. Else move the file to the ProcessedLogDirectory. 4.) Extract the following values and insert them into the database: a. RequestID b. GatewayHostname c. GatewayPort d. GatewayUsername e. DestinationHostnames f. DestinationUsername g. RequestUsername h. ClientIP Log Example: <RequestID>892c08a2-7859-40d3-b971-03e91050eb1e</RequestID> <GatewayHostname>[login to view URL]</GatewayHostname> <GatewayPort>4587</GatewayPort> <GatewayUsername>AD\aj</GatewayUsername> <DestinationHostnames>[login to view URL]</DestinationHostnames> <DestinationUsername>user@[login to view URL]</DestinationUsername>
ID-ul proiectului: 18338855

Despre proiect

O propunere
Proiect la distanță
Activ: 5 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
Acordat utilizatorului:
Avatarul utilizatorului
Hey there I'm a System Admin with coding skills. I had coded tons of PowerShell scripts. I can help. Regards.
$30 USD în 1 zi
4,9 (4 recenzii)
2,5
2,5

Despre client

Steagul UNITED STATES
Walton, United States
5,0
7
Metoda de plată a fost confirmată
Membru din oct. 2, 2017

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.