Formatting a line output in a file

In the end I have to come to you because I can't find the way to do it and I'm going a bit crazy.

I have a record entry from a file. This file sends the data in a disorderly way and I have managed to assign it to variables.

Now the only thing I want is to create an output in a file but with the order I need.

EJ of log entry :

user1 2020 barcelona 12 13:39 12 spaghetti

And I want an exit like

AskedOctober 15, 2020 - 1:46pm

exclude some field from $raw_event

i have a log with format time, date, description. how i can exclude time and date from $raw_event. i just need field description?

AskedMarch 1, 2018 - 9:53am