Now I got several custom log formats (mostly JSON) working, I'd like to view the file source in logs with multiple log files, I know the file name is shown on top for the current log, but it's not easy to see how logs are generated from multiple files in a glance, I ended up adding a string literal in the log format to indicate the file name (see screenshot below), but what really will be useful is to have "file_source" in the format definition that maps to a literal string base on one or more regex, and have it highlighted, something like:
"file_source": [ {"^abc": "FileABC"}, {"def.json$", "DEF"}]
Let me know if there is a better way to do this.
thanks