Hi all
i am busy to get some special data from my /var/log/messages file
this is the line that i am interested in:
May 2 10:52:23 mw-pi-star root M: 2020-05-02 08:52:23.188 Linked to PARROT
i just want to have this line and only the text "Linked to PARROT"
i played around with the "string" function but was not able to figure it out.
Can please someone help me ?
the goal is to put these words in an new html file on my webserver.
many thanks in advance
m
the code
[{"id":"9b70cde6.e3ad5","type":"tab","label":"ExternalRadio","disabled":false,"info":""},{"id":"34dbb600.74461a","type":"debug","z":"9b70cde6.e3ad5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":630,"y":140,"wires":[]},{"id":"1de32ca2.2d2c93","type":"tail","z":"9b70cde6.e3ad5","name":"","filetype":"text","split":"[\\r]{0,1}\\n","filename":"/var/log/messages","inputs":0,"x":210,"y":140,"wires":[["5fcced21.b7c254"]]},{"id":"5fcced21.b7c254","type":"string","z":"9b70cde6.e3ad5","name":"","methods":[{"name":"between","params":[{"type":"str","value":"Linked to"},{"type":"str","value":"\\n"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":430,"y":180,"wires":[["34dbb600.74461a"]]}]