Terminé

Extract String from Logs

Hello,

I have a bunch of logs and I would like to extract information from it:

EXAMPLE 1:

mdm-tlv=device-platform=win, mdm-tlv=device-mac=d4-25-8b-db-aa-bb, mdm-tlv=device-type=LENOVO 20JVS04J00, mdm-tlv=device-platform-version=10.0.16299 , mdm-tlv=device-uid=28A903C8C190CE102E1A29DFC2A231921911ED16D377E31CD235648A6BC2A41B, audit-session-id=0acd0164050200004b6359c5, ip:source-ip=1.2.3.4, coa-push=true

EXAMPLE 2:

mdm-tlv=device-platform=win, mdm-tlv=device-mac=d4-25-8b-db-cc-dd, mdm-tlv=device-type=LENOVO 20JVS04J00, mdm-tlv=device-platform-version=10.0.16299 , mdm-tlv=device-uid=AADD364FDA6CFAE37C334BD7D6790DCF78D10CE6A25FD1AA04EBCBCFE4E59E8A, audit-session-id=0acd01640501e0005b6359ba, ip:source-ip=1.2.3.4, coa-push=true

EXAMPLE 3:

mdm-tlv=device-platform=win, mdm-tlv=device-mac=00-a0-c6-00-cc-aa, mdm-tlv=device-type=LENOVO 20FMS2WM07, mdm-tlv=device-platform-version=6.1.7601 Service Pack 1, mdm-tlv=device-uid=71DD364FDA6CFAE37C334BD7D6790DCF78D10CE6A25FD1AA04EBCBCFE4E59E8A, audit-session-id=0acd0164050060005b635522, ip:source-ip=1.2.3.4, coa-push=true

EXAMPLE4:

mdm-tlv=device-platform=win, mdm-tlv=device-mac=00-a0-c6-00-bb-dd, mdm-tlv=device-type=LENOVO 20FMS2WM07, mdm-tlv=device-platform-version=6.1.7601 Service Pack 1, mdm-tlv=device-uid=71DD364FDA6CFDE27C334BD7D6790DCF78D10CE6A25FD1AA04EBCBCFE4E59E8A, audit-session-id=0acd016404ffd0005b635443, ip:source-ip=1.2.3.4, coa-push=true

I need someone to build a function that receives a whole string (e.g: EXAMPLE1) and returns the UID value of 28A903C8C190CE102E1A29DFC2A231921911ED16D377E31CD235648A6BC2A41B.

If it's relevant, I am using Python3 and Pandas.

Please only bid if you are ready to work immediately.

Compétences : Python

en voir plus : awk parse apache log, awk extract substring, logstash grok substring, how to extract data from log file, logstash mutate substring, shell script to extract data from log file, extract data from log file in specified range of time, grep ip address from log file, php extract phone number string, java code extract phone number string, extract num string vb6, php extract numbers string phone number, java extract number string, extract certain table html string, extract country number phone number string, extract phone number string php, java extract phone number string, php extract phone numbers string, extract numbers string java, call dll function return string

Concernant l'employeur :
( 4 commentaires ) Maputo, Mozambique

Nº du projet : #17554532

Décerné à:

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(1 Évaluation)
0.0

15 freelance font une offre moyenne de $30 pour ce travail

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(19 Commentaires)
4.3
kjdev616

Hi, there I am a python expert and I am sure I can help you. I can start your project now. Please message me and let's discuss more. Thank you.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2 Commentaires)
2.1
Mokshith30

hi I am VBA developer... expert in web scraping & VBA macros I will write excel VBA script to do this task,., will finish it now thankyou

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
1.7
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
benrose3d

I can write a script for you that will do this using your examples and you can tie it in with your existing program if you like. Additionally, I would be available to assist in that as well for a nominal fee.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
Yugansh121

Hi, i can deliver this project within 2 days and can start immediately as well. Looking forward for your response

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)
0.0
mariotyguzman25

hello i can help you right now, we can dev a python 3.5 script for get infomartion and put in manipulable format

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)
0.0
pourjour

I can deliver a python script which will handle the job, in 24 hours. just send me the file you want to parse and in which output format you want it

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
jsoriaso7

I have many experience in text treatment. If any doubt please contact me directly and I can prove my skills

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
nilsguillerminfr

I've already written a quick one-liner with .split() and .strip(). If there are more complex strings or performance considerations I can look into this further. Output on my screen currently: >>> for e in example Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
Kuvvat

Hi i can help you with your [login to view URL] you want i can finish it within 1-2 [login to view URL] should be output just only uid text? and where you will get input from text ?

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
pattamn

hi , I have 2years of experience in python. the given task I can complete In a 2 to 4hours with all testing

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
0.0
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(0 Commentaires)
0.0