Using Log Entry [syslog] and Application Log Entry [syslog_app_scope]

bonsai
Mega Sage

I am logging with "gs.info("~~~~")" in incident management.
Logs are recorded in the "syslog" table.

I found the "syslog_app_scope" table one day.
I want to manage it as an application log, so instead of "syslog",
Is it possible to use the "syslog_app_scope" table?

I couldn't find any explanation in the product documentation about how to use it properly.

 

When I created a suitable scoped application and executed "gs.info("~~~~")", it was recorded in the application log.

Could it be that 'syslog_app_scope' is a scoped application logging space?

Please let me know if anyone knows.

2 REPLIES 2

Amit Gujarathi
Giga Sage
Giga Sage

HI @bonsai ,
I trust you are doing great.

From your observation, when you created a suitable scoped application and executed the gs.info("~~~~") statement, the logs were recorded in the application log. This led you to speculate whether the "syslog_app_scope" table serves as a logging space specifically designed for scoped applications.

To address your query, the "syslog_app_scope" table can indeed be used as a dedicated logging space for scoped applications. By creating a scoped application and executing the gs.info("~~~~") statement, you can log information directly into the "syslog_app_scope" table associated with your application. This allows you to separate application logs from general system logs, making it easier to manage and analyze the logs specific to your application.


Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



Are the following items included in the product documentation?
It would be nice if there was an official document explaining how to use it.

"This allows you to separate application logs from general system logs, making it easier to manage and analyze the logs specific to your application."