Tyk-Pump CSV file options


#1

We are using CSV to get the analytics from Tyk. It works fine for us.

Tyk-pump creates one CSV file every hour or at least that’s what I can infer. Is there a way to config tyk pump to output to one file only?

Is there a way to config tyk-pump to create new file when a certain size exceeds say 10MB?

Is there a way to config the CSV file name format?


#2

I’m sorry to say that there’s no other settings except for the CSV directory to use, if you want to add these features you’ll need to modify the CSV pump

In particular, you can change the filename to be fixed instead of dynamic by changing this line:

You could also add the file-size check to the pump there after it stats it