Lengkap

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.

Kemahiran: Python

Lihat lagi: 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

Tentang Majikan:
( 4 ulasan ) Maputo, Mozambique

ID Projek: #17554532

Dianugerahkan kepada:

$25 USD dalam sehari
(1 Ulasan)
0.0

15 pekerja bebas membida secara purata $30 untuk pekerjaan ini

$19 USD dalam sehari
(19 Ulasan)
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.

$25 USD dalam sehari
(2 Ulasan)
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

$25 USD dalam sehari
(1 Ulasan)
1.7
$50 USD dalam sehari
(0 Ulasan)
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.

$50 USD dalam sehari
(0 Ulasan)
0.0
Yugansh121

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

$35 USD dalam 2 hari
(0 Ulasan)
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

$24 USD dalam 2 hari
(0 Ulasan)
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

$25 USD dalam sehari
(0 Ulasan)
0.0
jsoriaso7

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

$25 USD dalam sehari
(0 Ulasan)
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 Lagi

$50 USD dalam sehari
(0 Ulasan)
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 ?

$25 USD dalam sehari
(0 Ulasan)
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

$25 USD dalam sehari
(0 Ulasan)
0.0
$25 USD dalam sehari
(1 Ulasan)
0.0
$20 USD dalam 0 hari
(0 Ulasan)
0.0