Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:22:09 +0000.
Sender:Thabelo Mancama
.
Date:Friday, 28 August 2015 23:44:23 UTC+1.
Hey;
I check up and I am aware that there was an error with stats not showing up on the dash board for 24 hours. I have checked and made sure everything checks out:
tyk.conf
“enable_analytics”: true,
“analytics_config”: {
“type”: “mongo”,
“csv_dir”: “/tmp”,
“mongo_url”: “mongodb://localhost/tyk_analytics”,
“mongo_db_name”: “tyk_analaytics”,
“mongo_collection”: “tyl_analytics”,
“purge_delay”: -1,
“ignored_ips”: []
},
starts up
INFO[0000] Using /etc/tyk/tyk.conf for configuration
INFO[0000] Setting up analytics DB connection
INFO[0000] Using MongoDB cache purge
INFO[0000] Connecting to redis on: localhost:6379
WARN[0000] Cache purge turned off, you are responsible for Redis storage maintenance.
INFO[0000] Connecting to redis on: localhost:6379
INFO[0000] Listening on port: 5000
INFO[0000] Listening on [::]:5000
INFO[0000] Using App Configuration from Mongo DB
INFO[0000] Connecting to redis on: localhost:6379
INFO[0000] Subscription started: tyk.cluster.notifications
Mongo Version
[nantoka-user@ip-111-222-333-444 dash]$ mongo --version
MongoDB shell version: 3.0.3
But I am not getting any stats in at all. I am fairly certain I have forgotten to add a true somewhere but I don’t know where.
Any help would be much appreciated.
Ta;
T