Hi to all.
I need help for extracting data from a string that I receive
This is the data (Syslog data )
time="2013-11-18 13:18:16" severity=major pri=2 fw=SOMEDATA id=SOMEDATA rule=100000 msg="Another data" rulename="Data data data" packetdirection=0 subfamid=data_data_data_data mtype=data_data_data mid=100000
I want to achieve this:
time="2013-11-18 13:18:16"
severity=major
pri=2
fw=SOMEDATA
id=SOMEDATA
msg="Another data"
And so on...
I tried with $a.Split(" ") but it splits all the data and I receive ... nothing :)
So I need a RegEx to math the space " " and the sign " .
Any help will be appreciated .