Cloud app file is getting increased

Cloud app file is getting increased

Below are the Steps -
 Copy the 8.5.5 IB-507 file from the provided path above to the server where the CloudApp service is running and extract the file.
  1. Navigate to the ...\Web Security\casb\config directory, edit the aggregator.cfg file as follows:
From:
data.in.memory.interval 5 
highest.risk.value.aggregated 80
To:
data.in.memory.interval 5
highest.risk.value.aggregated 80
aggregation.filter.thread.size 7
aggregation.cache.size.maximum 8000
  1. Navigate to the ...\Websense\Web Security\casb\config\ directory, edit the log4j2.properties file as follows: (make sure rootLogger.level = info)
From:
#To change log file every day
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy 
appender.rolling.policies.time.interval = 1 
appender.rolling.policies.time.modulate = true 

# To change log file after 10MB size
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy 
appender.rolling.policies.size.size = 25MB 
appender.rolling.strategy.type = DefaultRolloverStrategy 
appender.rolling.strategy.max = 10

To:
# To change log file every day
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy 
appender.rolling.policies.time.interval = 5000 
appender.rolling.policies.time.modulate = true 

# To change log file after 10MB size
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy 
appender.rolling.policies.size.size = 25MB 
appender.rolling.strategy.type = DefaultRolloverStrategy 
appender.rolling.strategy.max = 10
  1. After step 3, delete the old log files under ...\Web Security\casb\logs or rename the existing 'logs' folder and create a new one. (from the command line: del *.log  Note the cloud app service may need to be stopped and disabled while deleting)
  2. Install 8.5.5 IB-507, and monitor the log files processing from the Cache\Cloudapp folder. 
    1. For installing the IB ,  extract the zip file and then use admin cmd to navigate to the IB path and run the bat file via cmd.
    2. If cloudapp files are not moving, try ending the Cloud App service in Task Manager and starting the service again.

NOTE: After all steps are complete, the cloudapp cache files may continue to increase for multiple hours. Recommend to allow for at least 24 hours before checking cloudapp cache file status.

After applying IB, run the below script in SSMS against catalog DB in SQL server:

update casb_etl_config set max_buffer_size=40000 where casb_etl_config_id in (select max(casb_etl_config_id) from casb_etl_config)

After an hour or so, run this query in SSMS against catalog DB to ensure whether the cloud app files are processing into DB.

select * from casb_etl_tracking order by start_time desc