Forum Discussion
Telemetry streaming to Elasticsearch
I am trying to answer the same questions. Were you able to get an answer?
- HGS-97-62May 08, 2024Altostratus
Hello Alex
Yes I was able with F5 support.
The best thing is to work with tmsh
Described here: https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/event-listener.html#requestlog
Start with the irule and work your way down.
After that you only need to create the listener like below
{
"class": "Telemetry",
"controls": {
"class": "Controls",
"logLevel": "debug"
},
"My_System": {
"class": "Telemetry_System",
"systemPoller": {
"interval": "60"
}
},
"My_Listener": {
"class": "Telemetry_Listener",
"port": 6514,
"trace": true
},
"My_Consumer": {
"class": "Telemetry_Consumer",
"type": "Generic_HTTP",
"trace": false,
"host": "10.0.1.111",
"protocol": "http",
"port": 9570,
"path": "/",
"method": "POST",
"headers": [
{
"name": "content-type",
"value": "application/json"
}
],
"outputMode": "processed"
}
}
- Alex_MadjeskiMay 09, 2024Altocumulus
Thank you very much for responding, I really appreciate it.
I got everything in link configured.
I tried pushing the config you pasted above with Postman and got
code: 500
message: Unexpected string in JSON at position 576
referer: restnoded
- HGS-97-62May 09, 2024Altostratus
You can drop it in "as-is".
You can change the name of the profile and other artifacts created if you want.
But you make sure that you do everything consistently.
In general just copy-and-paste.
- dcridingDec 13, 2024Nimbostratus
I followed this method & it looks pretty good from my perspective. Not sure Elasticsearch is happy yet. I was wondering whether the 'telemetry' pool created in step 2 should be up (mine's not) & also whether it should be applied to the 'telemetry_local' vs created in step 1? I can't see that in the procedure?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com