IoT Fleetwise campaign deployment

0

Hello AWS people I installed IoT Fleetwise edge agent on my device and approved the campaign. However, there is nothing connected to the vehicle, and the campaign deployment status of the vehicle appears to be <READY>. What kind of logs can I check?

Thank you always.

mzhyo
asked 2 months ago105 views
2 Answers
0

Hi there! Once the vehicle model and a time-based or event campaign are created, the campaign will be delivered to the FleetWise Edge agent (FWE). If you have followed the steps for installing FWE as a service, journalctl can be used to review the log files (search this page for an example journalctl command).

If you need additional information, the config.json file for FWE can be modified to increase logging level from error to trace by changing the systemWideLogLevel parameter. This is documented on the same page linked above.

Once you have confirmed connectivity and a campaign is in progress you will see log entries on operations FWE is performing. Let us know if this is helpful, or provide additional details and clarifications to help resolve your issue.

AWS
Gavin_A
answered 2 months ago
profile picture
EXPERT
reviewed a month ago
  • Do I have to run install-fwe.sh again after I modify the config.json file?

  • If I want to see all the logs, can I write in the json file as follows? "systemWideLogLevel": "Trace", "Info", "Warning", "Error"

0

To check the deployment status of the vehicle, you can look at the logs from the edge agent on the device.

  • Review the logs from the edge agent service running on the device. This should show information about connecting to AWS IoT Core and any errors encountered during deployment.
  • Run the AWS IoT describe-job-execution command to get details of the deployment job for that vehicle. Check the status and any error messages under statusDetails and deployment-failure-cause
aws iot describe-job-execution --job-id iotJobId --thing-name vehicleThingName
  • Verify the campaign configuration and that the vehicle meets requirements like having the necessary sensors and software version. A mismatch here could cause deployment to fail.
  • Check for any network issues that may prevent the edge agent from reaching AWS IoT Core and receiving the deployment.
  • Reviewing the edge agent and job execution logs is usually enough to identify what step in the deployment failed and next steps to resolve it.
profile picture
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions