Troubleshooting
Data older than 6 years disappears¶
Your data is likely frozen, as your index is probably set to the default of 6 years retention. To specify the age at which data freezes, edit the frozenTimePeriodInSecs
attribute in indexes.conf. This attribute specifies the number of seconds to elapse before data gets frozen. The default value is 188697600 seconds, or approximately 6 years. To change it to 25 years, use the example below:
[strava]
frozenTimePeriodInSecs = 788400000
Viewing logs¶
If you want to troubleshoot you can check the logs:
- In Splunk:
index=_internal sourcetype="tastravaforsplunk:log"
- On the CLI:
$SPLUNK_HOME/var/log/splunk/ta_strava_for_splunk_strava_api.log
Invalid or expired access code¶
The most common issue is that the access code is invalid or has expired. To solve this, request a new access code using https://www.strava.com/oauth/authorize?client_id=[client_id]&redirect_uri=http://localhost&response_type=code&scope=activity:read_all,profile:read_all
and replace [client_id]
with your Client ID. Alternatively, make sure that your Client ID and Client Secret have been set correctly, before you make the change as each access code is only valid once.
Reindexing data¶
If you want to reindex events, you can either delete the input and create another one with a different name (important!) or edit the current one and select the ‘Reindex data’ checkbox, which will reindex the data from the specified starting time.
Fields with encrypted values are shown as empty after reviewing them.¶
This is expected behaviour since 3.1.0 and is due to moving to Splunk’s UCC framework. The values are saved correctly, just not shown back to a user at all using asterisks like it was in previous versions. The latter had the undesired effect that any secret was replaced with asterisks if the field wasn’t updated.