Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[telemetry.teemReporter] Unable to send analytics data #271

Open
DahlPatric opened this issue Jan 8, 2024 · 3 comments
Open

[telemetry.teemReporter] Unable to send analytics data #271

DahlPatric opened this issue Jan 8, 2024 · 3 comments
Labels
bug Something isn't working untriaged Issue needs to be reviewed for validity

Comments

@DahlPatric
Copy link

Environment

  • Telemetry Streaming Version: 1.33
  • BIG-IP Version: 16.1.4.1

Summary

In /var/log/restnoded/restnoded.log this show up.
Mon, 08 Jan 2024 21:00:03 GMT - finest: [telemetry.teemReporter] Unable to send analytics data
Traceback:
Error: connect ETIMEDOUT 35.199.173.84:443
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
    "class": "Telemetry",
    "controls": {
        "class": "Controls",
        "logLevel": "debug",
        "debug": true
    },
    "NamespaceElasticForEvents": {
        "class": "Telemetry_Namespace",
        "systemListener": {
            "class": "Telemetry_Listener",
            "port": 6514,
            "trace": true
        },
        "Elastic": {
            "class": "Telemetry_Consumer",
            "type": "ElasticSearch",
            "host": "network-agent.logs",
            "protocol": "https",
            "port": "443",
            "index": "eventdata",
            "enable": true,
            "trace": "true"
        }
    },
    "NamespaceElasticForStats": {
        "class": "Telemetry_Namespace",
        "systemPoller": {
            "class": "Telemetry_System_Poller",
            "trace": "true",
            "allowSelfSignedCert": "true",
            "actions": [
                {
                    "includeData": {},
                    "locations": {
                        "telemetryServiceInfo": true,
                        "system": true,
                        "virtualServers": {
                            ".*": {
                                "availabilityState": true,
                                "clientside": true,
                                "status.statusReason": true,
                                "totRequests": true,
                                "name": true
                            }
                        },
                        "pools": true
                    }
                }
            ]
        },
        "Elastic": {
            "class": "Telemetry_Consumer",
            "type": "ElasticSearch",
            "host": "network-agent.logs",
            "protocol": "https",
            "port": "443",
            "allowSelfSignedCert": "true",
            "path": "/bigip",
            "dataType": "f5telemetry",
            "index": "pollerdata",
            "trace": "true",
            "method": "POST",
            "headers": [
                {
                    "name": "content-type",
                    "value": "application/json"
                }
            ],
            "outputMode": "processed"
        }
    }
}
@DahlPatric DahlPatric added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Jan 8, 2024
@dstokesf5
Copy link
Contributor

Thank you for your feedback. That log message is at the finest level. This means it is informational, and it is not a warning or error. Telemetry Streaming should still operate the same from a user perspective. Are you noticing any additional issues while seeing this log message?

@Nachtfalkeaw
Copy link

@DahlPatric
Can you please share the information where you found these "locations"? The F5 documentation tells some default configs however it seems at least "telemetryServiceInfo" is a location you use which is not in the documentation?
Is this specific for ElasticSearch ?

I am looking for possible locations for Prometheus Pull Consumer configuration.

  • telemetryServiceInfo
  • system
  • virtualServers
  • pools

From this snippet you posted:


                    "includeData": {},
                    "locations": {
                        "telemetryServiceInfo": true,
                        "system": true,
                        "virtualServers": {
                            ".*": {
                                "availabilityState": true,
                                "clientside": true,
                                "status.statusReason": true,
                                "totRequests": true,
                                "name": true
                            }
                        },
                        "pools": true

@pgouband
Copy link

pgouband commented Jan 23, 2024

Hi @Nachtfalkeaw,

Here you have the list https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/output-example.html#ltm-request-log
Location can be:

{
   "system"
   "virtualServers"
   "pools"
   "ltmPolicies"
   "httpProfiles"
   "clientSslProfiles"
   "serverSslProfiles"
   "sslCerts"
   "networkTunnels"
   "deviceGroups"
   "iRules"
   "aWideIps"
   "aaaaWideIps"
   "cnameWideIps"
   "mxWideIps"
   "naptrWideIps"
   "srvWideIps"
   "aPools"
   "aaaaPools"
   "cnamePools"
   "mxPools"
   "naptrPools"
   "srvPools"
   "telemetryServiceInfo"
}

Nested data can be used to specify locations too:

{
  "locations": {
    "system": {
      "diskStorage": {
         "*": {
            "Capacity": true
         }
       }
    }
   }
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Issue needs to be reviewed for validity
Projects
None yet
Development

No branches or pull requests

4 participants