Knowledge objects & integrations
Sourcetypes¶
strava:activitiescontains the summary data for all activities in JSON format.strava:activities:streamcontains the second-by-second data for an activity, including altitude, lat/long coordinates, heartrate, power, cadence, temperature and speed if the respective sensor data is present.
Field Aliases¶
The TA creates two aliases for the id field in the sourcetype strava:activities:
strava_idactivity_id
Lookups¶
The TA uses three lookups:
strava_athlete(KV Store lookup) contains thefirstname,lastname,fullname,ftpandweightfields. For getting the latter two metrics, make sure that the scope of the initial request for an access code from Strava includes theprofile:read_allpermission, e.g. likescope=activity:read_all,profile:read_allotherwise you would only get the name.strava_segments(KV Store lookup) contains all segments and their details, along with a total amount of times the segment has been ridden. It gets populated by a scheduled search daily at 3am.strava_types(CSV lookup) contains a list of all Strava activity types, pretty-printing the sport’s name. For exampleVirtualRidebecomesVirtual Ride,VirtualRunbecomesVirtual Runetc, automatically added to atype_fullfield. This is an automatic lookup.
Macros¶
The TA has one macro: strava_index, which is set to index=strava by default.
Garmin Add-On for Splunk integration¶
The TA will automatically extract the Garmin Connect activity ID as the garminActivityId field. This makes it easy to correlate data from Garmin and Strava activities when using the Garmin Add-On for Splunk.