[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] mosquitto_sub output
|
Hi Roger,
as a lot of our payloads are JSON, I would like to feed the output to `jq`.
While -F ‚„{„tst“:@s,“topic“:“%t“,“mid“:%m,“payload“:%p}` should work, a default -J which includes all message parameters, topic and timestamp in JSON would be very handsome.
Hi Christoph, I thought that might be the response :) This is still incomplete. You get the general idea though - @X for strftime replacements and %X for MQTT message parameters. I'd also like to add in some additional %X parameters to give easy access to more complete time formats than strftime supports by default. So far this is going to be %I - ISO 8601 combined date and time. Are there any other formats that should be included? Cheers, Roger On Tue, Aug 9, 2016 at 3:08 PM, Christoph Krey < krey.christoph@xxxxxxxxx> wrote: want!
Christoph
Am 09.08.2016 um 15:44 schrieb Roger Light <roger@xxxxxxxxxx>:
Hi all,
I'm back from holiday and should hopefully be catching up with everything soon.
I've made an asciicast showing a change that will be available in mosquitto_sub 1.5:
https://asciinema.org/a/82233
Enjoy!
Cheers,
Roger _______________________________________________ mosquitto-dev mailing list mosquitto-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________ mosquitto-dev mailing list mosquitto-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________ mosquitto-dev mailing list mosquitto-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
|
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail