02 May 2025
	
		
		10:25 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		05 May 2025
	
		
		08:32 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
data record(content = "-2025-05-01 23:02:58.960 INFO MDCID=D8227-6494143177361398674 [,] 1 --- [platformRequestMessageListenerContainer-9] AccrualLog: ABC Return: <?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?> <pfx6:ABCPublisher ")
data record(content = "-2025-05-01 23:02:58.960 INFO MDCID=D8227-6494143177361398674 [,] 1 --- [platformRequestMessageListenerContainer-9] AccrualLog: ABC Return: <?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?> <pfx6:ABCPublisher ") 
| parse content, "LD ['MDICD='{*}0-9{*}a-z]{12,100}:id LD"
Solved! Go to Solution.
02 May 2025 11:06 AM - edited 02 May 2025 11:06 AM
Hi @ArtemR
You have to use macros, please have a look at the example
data record(content = "-2025-05-01 23:02:58.960 INFO MDCID=D8227-6494143177361398674 [,] 1 --- [platformRequestMessageListenerContainer-9] AccrualLog: ABC Return: <?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?> <pfx6:ABCPublisher ")
| parse content, """$id = 'MDCID=' [A-Z0-9=-]{6,};
LD $id:id"""
Best,
Sini
02 May 2025 02:03 PM
Great, I believe macros is what I need. It's working, thank you.