- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Import from other providers #369
Comments
Sure, I'd be happy to add import feature. Would be awesome to support other services like Plausible, Matomo or Simple Analytics. If you have a sample of the data from them or instructions how to export data, please share - I would be able to add it then. |
Hi @Blaumaus, wow, that's incredible! I have two types of data I'd love to import. One is apache logfiles created with a CustomLog directive as follows:
An explanation of the values can be found here: https://httpd.apache.org/docs/2.4/mod/mod_log_config.html#customlog This produces logs that look like this:
The other is Matomo data. One approach would be to look at Matomo's sql database and try to do a raw export of the data. If you'd like, I'm happy to poke around and see how they store hits. The other way would be to use their export tool per https://matomo.org/faq/how-to/faq_26727/. I was able to quickly make a pretty comprehensive csv for a whole year's worth of hits. Here are a few sample rows:
Please note IPs have been replaced with 0.0.0.0 and so on. Curious to hear your thoughts! |
Thank you very much for this @prohtex. I see that columns in these log files are pretty much compatible with how we store data at Swetrix, so it should not be too hard to implement it. I'll look into adding the imports feature! |
Dupe Check
Describe the solution you'd like?
Hi there, this project looks fantastic, and I'm excited to get started with it. Is there any planned support to import historical data from apache logs or another provider such as Matomo? Thanks!
Additional context
No response
How important is this feature to you?
1 (Not too important)
The text was updated successfully, but these errors were encountered: