You haven't given any specific details or been to clear, so I will tell you what I understood, and what I propose:
I understand you want some sort of web service that will receive data, want the data received stored in a database and you want every such communication to be logged.
I propose making this web service in Node.JS or PHP, on a linux based server. (Is there any reason you proposed Windows?)
Since you haven't given any details, I don't know what the scope of this project is.
However I can tell you that in principle, it is quite easy to do this in Node.JS or PHP.
Looking forward to your reply,
Nir