Knowledge objects & integrations
Sourcetypes¶
strava:activities
contains the summary data for all activities in JSON format.strava:activities:stream
contains 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_id
activity_id
Lookups¶
The TA uses three lookups:
strava_athlete
(KV Store lookup) contains thefirstname
,lastname
,fullname
,ftp
andweight
fields. For getting the latter two metrics, make sure that the scope of the initial request for an access code from Strava includes theprofile:read_all
permission, e.g. likescope=activity:read_all,profile:read_all
otherwise 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 exampleVirtualRide
becomesVirtual Ride
,VirtualRun
becomesVirtual Run
etc, automatically added to atype_full
field. 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.