I have a Cygnus instance running with MySQL sink and I wanted to save every report in the same row, using the same table for every sensor report. So I created the MySql table and configurate Cygnus with:
cygnusagent.sources.http-source.handler.default_service = $DATABASE
cygnusagent.sources.http-source.handler.default_service_path = $TABLE
cygnusagent.sinks.mysql-sink.attr_persistence = column
cygnusagent.sinks.mysql-sink.table_type = table-by-service-path
Evry $ is a replacement of the real name for what it means.
Whenever there is an Orion notification I get this log:
WARN sinks.OrionSink: Bad context data (Table '$DATABASE.$TABLE_$ENTITYID_$ENTITYTYPE' doesn't exist)
After reading this description I had the idea that Cygnus would try to save the data in a table with the name in default_service_path
, which is not the case. What do I need to change to make it that way?