# Best practises for logging from mobile devices

**URL:** <https://discuss.elastic.co/t/best-practises-for-logging-from-mobile-devices/53473>\
**Category:** Logstash\
**Created:** [June 21, 2016, 9:31am UTC](https://discuss.elastic.co/t/best-practises-for-logging-from-mobile-devices/53473 "2016-06-21T09:31:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spaghetti0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spaghetti0/32/10431_2.png) [@spaghetti0](https://discuss.elastic.co/u/spaghetti0)\
**Post date:** [June 21, 2016, 9:31am UTC](https://discuss.elastic.co/t/best-practises-for-logging-from-mobile-devices/53473/1 "2016-06-21T09:31:51Z")

</div>

Hello, I'm setting up centralized login for my organization which supports both  
web and mobile clients. I've a question regarding the best architecture to use  
for this. I would like to avoid having unstructured logs hence I have developed  
a serializer that utilizes protobuf to format the logs for transport over the  
wire. The individual devices would push the data to my server using TCP/UDP  
sockets (ZeroMQ?).

Is this bad practice in any way? Please do suggest alternatives if you know of  
any.

Thank you, Alex.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:51am UTC](https://discuss.elastic.co/t/best-practises-for-logging-from-mobile-devices/53473/2 "2017-07-06T04:51:32Z")

</div>

Closed on July 6, 2017, 4:51am UTC


