All Apps and Add-ons

Just installed DBX v2, what is rsCache.data used for?

lagnone_splunk
Splunk Employee
Splunk Employee

I just installed DBX v2 and noticed a new file called rsCache.data is growing in size.

1) What are the normal size ranges for this file?

2) Is there a configure setting to keep this file at a certain file size?

3) Does a continuous growth in this file means I am pulling more DBX v2 data than it can index?

4) And if I need to remove this file, is it safe to:
a) stop Splunk
b) remove file
c) start Splunk

Tags (1)
1 Solution

jwelch_splunk
Splunk Employee
Splunk Employee

It is a JCS cache file that we use for lookup caching:
https://commons.apache.org/proper/commons-jcs/

1) it depends on how big the foreign table is
2) yes (note:There are plans to expose more of this in splunk in the future.)
a. copy /opt/splunk/etc/apps/splunk_app_db_connect/default/cache.ccf in ../local/cache.ccf
b. Docs can be found here for config options:
https://commons.apache.org/proper/commons-jcs/BasicJCSConfiguration.html
c. restart splunk
3) it probably means you have a large table and we are incurring cache misses
4) yes

View solution in original post

jwelch_splunk
Splunk Employee
Splunk Employee

It is a JCS cache file that we use for lookup caching:
https://commons.apache.org/proper/commons-jcs/

1) it depends on how big the foreign table is
2) yes (note:There are plans to expose more of this in splunk in the future.)
a. copy /opt/splunk/etc/apps/splunk_app_db_connect/default/cache.ccf in ../local/cache.ccf
b. Docs can be found here for config options:
https://commons.apache.org/proper/commons-jcs/BasicJCSConfiguration.html
c. restart splunk
3) it probably means you have a large table and we are incurring cache misses
4) yes

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...