Levels is unknown in log viewer

Prateek1
Tera Contributor

Hi we are getting Levels Column as Unknown in Logs viewer. is there way we can define the level somewhere in Health logs analytics plugin .

Prateek1_0-1719294512515.png

 

1 REPLY 1

sash_machiraju
Tera Contributor

The level generally has to be mapped via the log payload in Source type Structure. If it is not available, you can use the custom JS function to derive a custom Log Level based on other factors/fields in the log. You can then assign the severity label in the source type structure to that custom log level key you created.