Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Fetch Logged Events #344

Open
Hardik4007 opened this issue Apr 26, 2021 · 5 comments
Open

[iOS] Fetch Logged Events #344

Hardik4007 opened this issue Apr 26, 2021 · 5 comments

Comments

@Hardik4007
Copy link

I'm trying to fetch event logs but could not find a way to fetch logged events. Can you guild me if there is a way to fetch events which we have logged using ios sdk.

Please suggest me if it is possible or not. If possible can you give me a reference for API or iOS SDK to fetch the events.

Thanks.

@dantetam
Copy link
Contributor

Hello @Hardik4007 ,

For quick analyses into your data, export from your project with Export Data, where you may see JSON events from a specified date range.

For programmatically exporting large volumes of events, see this help center guide for all different options.

I do not know of a way inside the SDK itself to retrieve the full event payload . CC: @jooohhn

Dante

@Hardik4007
Copy link
Author

Hardik4007 commented Apr 27, 2021

Hello @dantetam

Using this Export Data api, it downloads zip file which contains logs from specified date range. but is it possible if we want some specific events in json format?

@dantetam
Copy link
Contributor

Good morning @Hardik4007 ,

Feel free to clarify your use case for the exported data. What extra analysis would you like to perform on the logged events?

Using the Export Data API, you may use programs to unzip and filter the JSON events yourself. However, the Amplitude dashboards and charts may offer your desired functionality already.

@Hardik4007
Copy link
Author

Hi @dantetam

We are logging event when we log in to the app and we are integrating automation test case to know the event is logged successfully or not using XCUITest framework.

Using Export data api we are getting zip file of logs. but we want to retrieve some logs programmatically and want to confirm logged events on login.

@dantetam
Copy link
Contributor

Hello @Hardik4007 ,

You may follow the guide for domain proxies here to listen to events.

You may also create your own wrapper around the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants