I'm creating event rule, facing issues on to map the node field

Ashfaq Naina A
Tera Expert

Hi 

I'm trying to create a event rule, In the event I can see the node name in additional information field I want to take the data and put it to Node field, when I drag the data in regex its woring with only one node because when I drag select its hardcoded, I want to use the regex code the get the data but not able to identify where to update the code to get the data.

2 ANTWOORDEN 2

BharatC
Kilo Guru

Hello @Ashfaq Naina A 

 

Regex to use: Host=([^,]+)

 

Follow these steps:

 

1) Go to Event Rule → Field Mapping
2) Set: 1) Source Field: additional_info
2) Target Field: node
3) Enable "Use Regex"
4) In Regex:
1)Enter: Host=([^,]+)
2) Set Group = 1

 

Please click helpful if it helps you 

Regards

Hello @BharatC 

Where to set the source and target field I can't see any options. Please help..