I have query result from Elasticsearch using logs result that have long value in particular field, and I want to remove some of the characters and get specific result using Rename by Regex transformation, but no luck to get what I want to achieve.
The situation like below:
I have field origin with value like below: "authenticated for user 'is-someone'. From: 10.14.15.254."
Using regex: [^\.*].+user '(.+)'\..* i will get is-someone
but i don’t know to use the transformation in the table panel that show the result of the regex, the origin field still the same as before and I don;t know where the replacement of the regex was.
Is it possible to do it ?
Datasource: Elasticsearch
Metric: RawData
Panel: Table
Transform: Rename by regex
Not sure if I’m understanding perfectly, but I did want to mention that regex-based value-mapping will ship with 8.2. That should allow you to modify individual fields of data in, say, the table panel.
Perhaps that will help? If not, can you maybe add some screenshots so we can get you unblocked?