Hello,
So i have a multi-lined log, each line has a format, after creating a grok filter that detects the keyword "callid" ,i would like to extract the ID right after that keyword and save it to a new field. here is a sample of 3 lines from the log file:
Jan 21 14:00:34.499 OPCM35AVCS207 VCS: [0x00001dfc] ScriptManager 0x11111111 for thread 0x22222222 for tenant ******** has removed a thread. Total: 1 thread(s).
Jan 21 14:00:34.499 OPCM35AVCS207 VCS: [0x00001dfc] CSScriptCall::Release DELETE callid=0x0a0a0a0a0a0a0a0a Hitsign hi
Jan 21 14:00:34.499 OPCM35AVCS207 VCS: [0x00001dfc] CCall destroyed at 0x4691aa28
i would like to extract that 0x0a0a0a0a0a0a0a0a into a new field. (note that all of those IDs have the same length 18 caracters), i have created a GROK filter that detects every line that has the word "callid" and create a new field that containes the word callid or void (in case the wod wasn't detected) .
any suggestions will be apperciated.