use telemetry send to kafka,only vs message,but resport message too large,how to solve?

we have 2000 virtual server, use telemetry send to kafka,only vs message,but resport message too large,

{
“class”: “Telemetry”,
“My_System”: {
“class”: “Telemetry_System”,
“systemPoller”: {
“interval”: 60,
“actions”: [
{
“excludeData”: {},
“locations”: {
“virtualservers”: {
“.*”: {}
}
}
}
]
}
},
“My_Consumer”: {
“class”: “Telemetry_Consumer”,
“type”: “Kafka”,
“host”: “x.x.x.x”,
“protocol”: “binaryTcpTls”,
“port”: 9092,
“topic”: “f5-events”
}
}

ltm log report  :[telemetry.kafka.f5telemetry_default::My_consumer] error:Message SizeTOOLLarge

how to solve?

Hello,

You will likely need to add more sections to the data modification and exclude other data.  We have some examples here:  Data Modification (f5.com).

It might be best to start off with a handful of virtual servers first to ensure the message size is appropriate.