Forum Discussion

Norman_Zhang's avatar
Norman_Zhang
Icon for Nimbostratus rankNimbostratus
Apr 21, 2021

Telemetry with Logstash

I'm trying to troubleshoot Telemetry Streaming to Logstash. The external Logstash seems to be rejecting. Is the following declaration sufficient?

 

{

   "class": "Telemetry",

   "My_System": {

       "class": "Telemetry_System",

       "systemPoller": {

           "interval": 60

       }

   },

   "My_Listener": {

       "class": "Telemetry_Listener",

       "port": 6514

   }, 

   "My_Consumer": {

       "class": "Telemetry_Consumer",

       "type": "Generic_HTTP",

       "host": "10.255.255.2",

       "protocol": "http",

       "port": 9609,

       "path": "/var/log/ts/f5-ts.log",

       "method": "POST",

       "headers": [

           {

               "name": "content-type",

               "value": "application/json"

           },

           {

               "name": "x-api-key",

               "value": "`>@/passphrase`"

           }

       ],

       "passphrase": {

           "cipherText": "apikey"

       }

   }

}