Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Splunk My Garmin - Part 1 - Props.conf
[tcx]
BREAK_ONLY_BEFORE = \<\?xml version
MAX_EVENTS = 999999999
NO_BINARY_CHECK = true
TIME_PREFIX = \<Id\>
category = Structured
description = Garmin Training Center Database XML File
disabled = false
pulldown_type = true
KV_MODE = xml
FIELDALIAS-Sport = "TrainingCenterDatabase.Activities.Activity{@Sport}" AS Sport
FIELDALIAS-Notes = TrainingCenterDatabase.Activities.Activity.Notes AS Notes
FIELDALIAS-LapTime = TrainingCenterDatabase.Activities.Activity.Lap.TotalTimeSeconds AS LapTime
FIELDALIAS-Distance = TrainingCenterDatabase.Activities.Activity.Lap.DistanceMeters AS Distance
FIELDALIAS-MaxSpeed = TrainingCenterDatabase.Activities.Activity.Lap.MaximumSpeed AS MaxSpeed
FIELDALIAS-Calories = TrainingCenterDatabase.Activities.Activity.Lap.Calories AS Calories
FIELDALIAS-AvgHr = TrainingCenterDatabase.Activities.Activity.Lap.AverageHeartRateBpm.Value AS AvgHr
FIELDALIAS-MaxHr = TrainingCenterDatabase.Activities.Activity.Lap.MaximumHeartRateBpm.Value AS MaxHr
FIELDALIAS-Intensity = TrainingCenterDatabase.Activities.Activity.Lap.Intensity AS Intensity
FIELDALIAS-Cadence = TrainingCenterDatabase.Activities.Activity.Lap.Cadence AS Cadence
FIELDALIAS-TriggerMethod = TrainingCenterDatabase.Activities.Activity.Lap.TriggerMethod AS TriggerMethod
FIELDALIAS-MaxBikeCadence = TrainingCenterDatabase.Activities.Activity.Lap.Extensions.LX.MaxBikeCadence AS MaxBikeCadence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment