I’m trying to extract IP addresses from unformated logs.
I got my regex running and IP addresses are matched with logql below:
{env="prod", platform="azure"} |~ "(\\d{1,3}\\.){3}\\d{1,3}"
What I cannot figure out is how to display the match only in a table. At the moment the table gives has multiple other columns one of which is Line that contain the full log line.
I just need to display the IP.
Thank you