Reset analytics?

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:27:33 +0000.
Sender:Tor Inge Skaar.
Date:Monday, 5 October 2015 09:27:17 UTC+1.

Is there an easy and safe way to reset all the statistics and analytics data, while maintaining all the API and user configurations? Use case: start with a “clean plate” for the Analytics after doing a lot of testing of the gateway.


Tor Inge Skaar

Imported Google Group message.
Sender:Martin Buhr.
Date:Monday, 5 October 2015 10:07:44 UTC+1.

Hi Tor,

Yup - just drop the tyk_analytics collection (not the whole DB - sometimes they have the same name), all analytics are stored there. It has no effect on anything else.


  • show quoted text -

Imported Google Group message.
Sender:Tor Inge Skaar.
Date:Monday, 19 October 2015 07:13:58 UTC+1.

Thanks! Works like a charm.

  • show quoted text -

  • show quoted text -

You received this message because you are subscribed to a topic in the Google Groups “Tyk Community Support” group.
To unsubscribe from this topic, visit
To unsubscribe from this group and all its topics, send an email to [email protected].
To view this discussion on the web, visit
For more options, visit