You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running multiple Seldon servers at scale we need to stream the activity logs to a central location such as AWS S3, HDFS or a central file store. We have found Fluentd from Treasure Data is idle for this. We will discuss here what you need to do to set this up.
You will need to install td-agent which is a packaged version of Fluentd. See here.
Seldon server has four log files:
"restapi.log" : all REST API calls
"ctr.log" : Impressions and Clicks for recommendations
"ctr-alg.log" : Detailed Impressions and Clicks for recommendations with algorithms, and returned items
"actions.log" : All action calls
If you have several Seldon servers running you would want to collect these logs and transfer them to a central location. The td-agent.conf configuration file for this can be found in seldon-server/td-agent/seldon-server-td-agent.conf.base.example and is shown below. You should replace <TOMCAT_HOME> with the location of your Apache tomcat home folder: