SQLite Plugin
configs/configurations/OutputPlugins/Sqlite/SqliteSettings.xmlConfiguration
Mandatory settings
Sample configuration
<?xml version="1.0" encoding="utf-8" ?>
<SqliteConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://senseforce.io/ ..\..\Schemas\sqliteoutsettings.xsd" >
<SqliteServer>
<!--Path to db or ":memory:"-->
<DataSource>C:\Sqlite\testdb.db</DataSource>
<!--Represents the connection modes that can be used when opening a connection.
Valid values: ReadWriteCreate, ReadWrite, ReadOnly, Memory-->
<Mode>ReadWrite</Mode>
<!-- Represents the caching modes that can be used when creating a new Connection.
Valid values: Default, Private, Shared-->
<Cache>Shared</Cache>
</SqliteServer>
<!--Messages arriving from ingress plugins are batched until the NumberOfMessagesToCombine is reached or the MessageCombineCounterMs are elapsed. Then they are sent.-->
<NumberOfMessagesToCombine>40000</NumberOfMessagesToCombine>
<MessageCombineCounterMs>60000</MessageCombineCounterMs>
<!-- Ringbuffer configuration-->
<!-- Defines, which column is used as autoincremental column. Mandatory for ringbuffer to work-->
<AutoIncrementColumn>rId</AutoIncrementColumn>
<!-- Total length (number of rows) of ringbuffer -->
<RingBufferLength>60000</RingBufferLength>
<!-- Defines, which table is used as ringbuffer. Only one table can be configured as ringbuffer-->
<RingBufferTableName>MDE100</RingBufferTableName>
<!--Specify file for logging-->
<Logger>
<FilePath>$(LunaAppDataPath)Logs</FilePath>
<FileName>SQLiteOut.log</FileName>
<!--LogLevel: Debug,Information,Warning,Error,Critical,None-->
<LogLevel>Debug</LogLevel>
</Logger>
</SqliteConfiguration>Advanced Settings
Sample file
Last updated