To extract data from the log [login to view URL] field in Elasticsearch and restructure it into separate fields, you can use a script processor in an update by query or reindex operation.
Here's an example of how you can do this using the Painless script language in Elasticsearch:
1) First, create a new index with the desired mapping for the new fields.
2)Use the update by query API to update documents in the original index, setting the new fields to the values extracted from the log [login to view URL] field. You can do this by specifying a script that parses the log [login to view URL] field and sets the new fields accordingly.
Drop a message for further discussion.
Thanks