If you don’t specify the --idsite parameter with log-analytics, it tries to auto-detect the siteid. But for this it only seems to look at the hostname which is the same for both of your sites.
My tip would be to use something like grep to split up the log file into two files depending on the site and then use log analytics on both files with specified --idsite.