veyalla / logspout-loganalytics

loganalytics provider for logspout
MIT License
30 stars 5 forks source link

Log module disappears from IoT Edge device in Azure IoT Edge #3

Open gadgetman4u opened 5 years ago

gadgetman4u commented 5 years ago

I have an IoT edge device which is a Raspberry Pi 3 connected to the Azure IoT Hub. I was able to follow your instructions for creating an IoT module on the device for collecting the logs and it deployed. However, now it is not in the list of deployed modules, and I have to recreate again. Why does the Log IoTEdge module disappear? Do I have to keep re-creating again? It seems I do see it come back again, after I redeploy and restart the IoTEdge device.

Thanks.

Alvin

gadgetman4u commented 5 years ago

Has anyone experienced this? I have deployed the log module as per the article, but now I don't see it in the list of modules on my iotedge device (Raspberry Pi 3).

@veyalla Would you know why the logspout module disappears from the IoT edge device list of modules from the Azure IoT hub?

Thanks for any help.

Alvin

gadgetman4u commented 5 years ago

@veyalla I've deployed your log module as per your article, but for some reason when I restart the iotedge, the module goes away, I don't see it in the Azure IoT Hub and I have to recreate the module again. Do I have to keep doing that to have the log module running?

veyalla commented 5 years ago

You mean it no longer shows up in the deployment after restarting Edge or is the module just not running?

gadgetman4u commented 5 years ago

@veylla not in the deployment and not on the Raspberry Pi, it's like it disappeared.

veyalla commented 5 years ago

That’s odd and definitely unexpected behavior. The only thing I can think of is maybe an Edge at-scale deploymenthttps://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-monitor is targeting the device and getting applied on restart.

If that’s not the case, can you try on a freshly created edge device?

From: gadgetman4u notifications@github.com Reply-To: veyalla/logspout-loganalytics reply@reply.github.com Date: Tuesday, January 15, 2019 at 12:42 PM To: veyalla/logspout-loganalytics logspout-loganalytics@noreply.github.com Cc: Venkat Yalla veyalla@microsoft.com, Mention mention@noreply.github.com Subject: Re: [veyalla/logspout-loganalytics] Log module disappears from IoT Edge device in Azure IoT Edge (#3)

@veylla not in the deployment and not on the Raspberry Pi, it's like it disappeared.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fveyalla%2Flogspout-loganalytics%2Fissues%2F3%23issuecomment-454543432&data=02%7C01%7Cveyalla%40microsoft.com%7Ca9ca2f3fcf554b9d22a308d67b29e894%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636831817262123238&sdata=tV4HnM%2B3GkNOqU%2B3f%2FGBcK35d%2FazN%2BzTJ1DsVJxTgfc%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVFOoLV0dro_HekTqEkuk2FtJyRpZphuks5vDj0cgaJpZM4Z4UKz&data=02%7C01%7Cveyalla%40microsoft.com%7Ca9ca2f3fcf554b9d22a308d67b29e894%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636831817262123238&sdata=I3U%2BBv8mhzwr%2FIeV8cINzfn%2FLCd1pVjXwdRAblWRY5o%3D&reserved=0.