Analytics not showing on Dashboard

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:06:13 +0000.
Sender:Khirod Kant Naik.
Date:Friday, 13 February 2015 06:05:46 UTC.

Hi Martin,
I tried to set up Tyk Dashboard and I am not able to see any analytics in the dashboard. I can find some keys of form analytics* on redis. But still no analytics are visible on Dashboard. It just shows 0 success hits, 0 errors, 0 upstream latency even when I can see the upstream latency using the REST API.

What I could be doing wrong ? I am attaching my configurations

Imported Google Group message.
Sender:Martin Buhr.
Date:Friday, 13 February 2015 06:27:37 UTC.

Hi Khirod,

Are you running MongoDB version 2.6 or newer? Most Linux repos ship an old version, you need to get it from MongoD apt repo.

Analytics will not work on an older version of Mongo because there is no aggregation framework.

Thanks,
Martin

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/0f7fc875-e1d6-472a-8033-1261a59e32ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<tyk_analytics.conf>
<tyk.conf>

Imported Google Group message.
Sender:Khirod Kant Naik.
Date:Friday, 13 February 2015 06:27:37 UTC.

Hi Khirod,

Are you running MongoDB version 2.6 or newer? Most Linux repos ship an old version, you need to get it from MongoD apt repo.

Analytics will not work on an older version of Mongo because there is no aggregation framework.

Thanks,
Martin

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/0f7fc875-e1d6-472a-8033-1261a59e32ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<tyk_analytics.conf>
<tyk.conf>

Imported Google Group message.
Sender:Martin Buhr.
Date:Friday, 13 February 2015 07:16:30 UTC.

The “purge_delay” setting in tyk.conf was disabled with -1 so you need to edit that appropriately so that results get moved into Mongo.

Thanks Again Martin :slight_smile:

Regards,
Khirod

  • show quoted text -