swiftbird07 / elastic-agent-android

🚀 Enterprise-grade Android Monitoring with Elastic: Streamline Fleet Management and Security Insights. 📊
MIT License
7 stars 0 forks source link

[Question] How to upload logs from other apps saved at a specific path? #4

Open Fabioni opened 2 weeks ago

Fabioni commented 2 weeks ago

You say we can sync all of this to Elastic Search:

Location: Sends periodic location updates to Elasticsearch, with configurable intervals. Network Logs: Collects network logs (DNS, TCP connections) provided by the Android OS. Security Logs: Gathers security-related logs, like app (un-) installation, failed PIN attempts etc. Note: Currently not working on any tested devices. See Issue https://github.com/swiftbird07/elastic-agent-android/issues/1. Self Log: Logs the agent's own operational logs for diagnostics and monitoring.

Maybe I am stupid but what about actual logs from other apps, which is probably the reason why people would want the elastic agent?

Thanks for any help (I am totally new to the Elastic Search world)

swiftbird07 commented 2 weeks ago

Hi the issue is that on android apps are mostly isolated from each other (sandboxing) which means it is not possible to read any internal logs from apps that do not explicitly enable external logging to the system (without rooting).

If you know an app that logs e.g. to the file system somewhere and you want to ingest that logs to elastic then give me a heads up and I will write a module that can collect these logs.