<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<EventStoreConfiguration>
	<TableSchema>
		<ColumnDefinition>
			<Name>api</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>apiPublisher</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>tenantDomain</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>resourceTemplate</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>method</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>backendTime</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>LONG</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>backendPercentile</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>DOUBLE</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>msg</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
        <ColumnDefinition>
            <Name>severity</Name>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
		<ColumnDefinition>
			<Name>alertTimestamp</Name>
			<EnableIndexing>true</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>LONG</Type>
		</ColumnDefinition>
	</TableSchema>
	<Source>
		<StreamId>org.wso2.analytics.apim.abnormalBackendTimeAlertStream:1.0.0</StreamId>
	</Source>
	<MergeSchema>false</MergeSchema>
	<RecordStoreName>EVENT_STORE</RecordStoreName>
</EventStoreConfiguration>