|  Developer
Updated on May 6, 2022

hub.log.send

  • Send logs to cloud
Edit
Field Type Required Description
select JsonArray List of log filenames to be send
Edit
  • Return empty result or error
Edit
Edit
Edit
				
					{
    "id": "_ID_",
    "method": "hub.log.send",
    "params": {}
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "method": "hub.log.send",
    "result": {}
}				
			
Edit
  • Send specific logs
Edit
				
					{
    "id": "_ID_",
    "method": "hub.log.send",
    "params": {
        "select" : ["ha-networkd.log", "ha-uid.log"]
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "method": "hub.log.send",
    "result": {}
}				
			
Edit
Code Message
-32500 Send logs error