{#
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
 # distributed with this work for additional information
 # regarding copyright ownership.  The ASF licenses this file
 # to you under the Apache License, Version 2.0 (the
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
 #   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #}
{
	"output":[
		{
			"is_enabled":"{{solr_service_logs_enable}}",
			"comment":"Output to solr for service logs",
			"destination":"solr",
			"zk_hosts":"{{zookeeper_quorum}}{{solr_znode}}",
			"collection":"{{solr_collection_service_logs}}",
			"number_of_shards": "{{logsearch_numshards}}",
			"splits_interval_mins": "{{service_logs_collection_splits_interval_mins}}",
			"conditions":{
				"fields":{
					"rowtype":[
						"service"
					]
					
				}
				
			}
			
		},
		{
			"comment":"Output to solr for audit records",
			"is_enabled":"{{solr_audit_logs_enable}}",
			"destination":"solr",
			"zk_hosts":"{{zookeeper_quorum}}{{solr_znode}}",
			"collection":"{{solr_collection_audit_logs}}",
			"number_of_shards": "{{logsearch_numshards}}",
			"splits_interval_mins": "{{audit_logs_collection_splits_interval_mins}}",
			"conditions":{
				"fields":{
					"rowtype":[
						"audit"
					]
					
				}
				
			}
			
		},
		{
			"is_enabled":"{{kafka_service_logs_enable}}",
			"destination":"kafka",
			"broker_list":"{{kafka_broker_list}}",
			"topic":"{{kafka_topic_service_logs}}",
			"kafka.security.protocol":"{{kafka_security_protocol}}",
			"kafka.sasl.kerberos.service.name":"{{kafka_kerberos_service_name}}",
			"conditions":{
				"fields":{
					"rowtype":[
						"service"
					]
					
				}
				
			}
			
		},
		{
			"is_enabled":"{{kafka_topic_service_logs}}",
			"destination":"kafka",
			"broker_list":"{{kafka_broker_list}}",
			"topic":"{{kafka_topic_audit_logs}}",
			"kafka.security.protocol":"{{kafka_security_protocol}}",
			"kafka.sasl.kerberos.service.name":"{{kafka_kerberos_service_name}}",
			"conditions":{
				"fields":{
					"rowtype":[
						"audit"
					]
					
				}
				
			}
			
		}
		
	]
	
}