For all events in our applications, we are including ASP.NET Session variables added to logged events, with code similar to this:
string sessContents = "NULL";
if (HttpContext.Current.Session != null)
{
sessContents = "";
foreach (string key in HttpContext.Current.Session.Keys)
{
sessContents += key + " = " + HttpContext.Current.Session[key] + Environment.NewLine;
}
}
e.Event.SetProperty("SessionContents", sessContents);
In the "legacy" UI, these items are displayed in an "Extended Data" tab in the event details in a section named "SessionContents", and formatted as shown here (with each item on a separate line):
ApplicationName = ZZZZ
GL_StatusFilter_D = Active
GL_cbRA_D = -1
GL_cbOSPTeam_D = All Teams
GL_cbGroupByRA_D = False
GL_cbGroupByOSPTeam_D = False
SessionID = uhs3bmk4gvq5h4whfm1vfdlk
In the new/next UI (version 8.7.1) this same Session data is now displayed in a single line, as shown here (making it a little more difficult to read):
ApplicationName = ZZZZ GL_StatusFilter_D = Active GL_cbRA_D = -1 GL_cbOSPTeam_D = All Teams GL_cbGroupByRA_D = False GL_cbGroupByOSPTeam_D = False SessionID = uhs3bmk4gvq5h4whfm1vfdlk
Do I need to change the application code that adds the Session variables to the event data (to add a newline between each item, for example)? Or, is this display format something that can be changed in the new UI?
For all events in our applications, we are including ASP.NET Session variables added to logged events, with code similar to this:
In the "legacy" UI, these items are displayed in an "Extended Data" tab in the event details in a section named "SessionContents", and formatted as shown here (with each item on a separate line):
In the new/next UI (version 8.7.1) this same Session data is now displayed in a single line, as shown here (making it a little more difficult to read):
Do I need to change the application code that adds the Session variables to the event data (to add a newline between each item, for example)? Or, is this display format something that can be changed in the new UI?