Sidehistorik
...
Tip |
---|
Tracking Power |
Getting data out
Next, the data can be extracted to XLS og CVS, but this was to manual, I wanted to utilize and automate, so I signed up for APIservices, which has 2 primary functions:
...
Kodeblok |
---|
{"Data":[{"DeviceName":"Normann P.'s iPhone","DeviceID":"11787783","Date":"2017-12-08T18:21:58+01:00","Latitude":57.01034,"Longitude":10.03387,"Type":"GPS","Speed(mph)":4,"Speed(km/h)":6,"Altitude(ft)":29,"Altitude(m)":9,"Accuracy":5}]} |
Getting data in
To get data in splunk, several approaches can be made - and typicalli I would choose a script to pull data from the API to a file to be parsed, but this time I wanted to play with getting the json in splunk the simplest way, so I installed the REST API Modular Input Add On, even thought its pretty old. The Add