initial import
This commit is contained in:
75
stash/etc/config.json
Normal file
75
stash/etc/config.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"Input": {
|
||||
"Kafka": {
|
||||
"Name": "easystash",
|
||||
"Brokers": [
|
||||
"172.16.186.156:19092",
|
||||
"172.16.186.157:19092",
|
||||
"172.16.186.158:19092",
|
||||
"172.16.186.159:19092",
|
||||
"172.16.186.160:19092",
|
||||
"172.16.186.161:19092"
|
||||
],
|
||||
"Topic": "k8slog",
|
||||
"Group": "pro",
|
||||
"NumProducers": 16,
|
||||
"MetricsUrl": "http://localhost:2222/add"
|
||||
}
|
||||
},
|
||||
"Filters": [
|
||||
{
|
||||
"Action": "drop",
|
||||
"Conditions": [
|
||||
{
|
||||
"Key": "k8s_container_name",
|
||||
"Value": "-rpc",
|
||||
"Type": "contains"
|
||||
},
|
||||
{
|
||||
"Key": "level",
|
||||
"Value": "info",
|
||||
"Type": "match",
|
||||
"Op": "and"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Action": "remove_field",
|
||||
"Fields": [
|
||||
"message",
|
||||
"_source",
|
||||
"_type",
|
||||
"_score",
|
||||
"_id",
|
||||
"@version",
|
||||
"topic",
|
||||
"index",
|
||||
"beat",
|
||||
"docker_container",
|
||||
"offset",
|
||||
"prospector",
|
||||
"source",
|
||||
"stream"
|
||||
]
|
||||
}
|
||||
],
|
||||
"Output": {
|
||||
"ElasticSearch": {
|
||||
"Hosts": [
|
||||
"172.16.141.14:9200",
|
||||
"172.16.141.15:9200",
|
||||
"172.16.141.16:9200",
|
||||
"172.16.141.17:9200",
|
||||
"172.16.140.195:9200",
|
||||
"172.16.140.196:9200",
|
||||
"172.16.140.197:9200",
|
||||
"172.16.140.198:9200",
|
||||
"172.16.140.199:9200",
|
||||
"172.16.140.200:9200",
|
||||
"172.16.140.201:9200",
|
||||
"172.16.140.202:9200"
|
||||
],
|
||||
"DailyIndexPrefix": "k8s_pro-"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user