This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Feeding all log data to external service
#1
I am wondering about the ability to export all value updates (with a certain tag) to e.g. a InfluxDB or Elastic instance for visualization with Grafana or Kibana. Is this possible with an internal component or do I need to script it? I have checked out the internal trend log, but it does not quite fit my data hoarding needs. Smile
Reply
#2
See this post for a basic example of a script that listen to all bus traffic:
https://forum.logicmachine.net/showthrea...69#pid1269

You can change grp.all to grp.tag('sometag') if you need only specific objects. For external connectors look for pure Lua libraries which in most cases can be used directly in LM without any modifications.
Reply
#3
I ended up doing a event based script and trigger on "log"-tagged items. This script then does a http post to Elastic. Works quite well Smile

   
Reply
#4
Hi FiLLLip,

Do you have any way of sharing your script Rolleyes 

BR
JM
Jean-Marc
Reply
#5
Also interested fiLLLip

Thanks,

Mischa
Reply


Forum Jump: