D! [outputs.influxdb_v2] Buffer fullness: 0 / 1 metrics

error while starting
● telegraf-evtlog.service - The plugin-driven server agent for reporting metrics into InfluxDB
Loaded: loaded (/usr/lib/systemd/system/telegraf-evtlog.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-04-07 11:07:53 CDT; 2min 12s ago
Docs: GitHub - influxdata/telegraf: The plugin-driven server agent for collecting & reporting metrics.
Main PID: 17728 (telegraf)
CGroup: /system.slice/telegraf-evtlog.service
└─17728 /usr/bin/telegraf -config /etc/telegraf/telegraf-evtlog.conf

Apr 07 11:09:55 vmaz1utteleg01.com telegraf[17728]: 2022-04-07T16:09:55Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 1 metrics
Apr 07 11:09:56 vmaz1utteleg01.com telegraf[17728]: 2022-04-07T16:09:56Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 1 metrics
Apr 07 11:09:57 vmaz1utteleg01.com telegraf[17728]: 2022-04-07T16:09:57Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 1 metrics
Apr 07 11:09:58 vmaz1utteleg01.com telegraf[17728]: 2022-04-07T16:09:58Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 1 metrics
Apr 07 11:10:00 vmaz1utteleg01.com telegraf[17728]: 2022-04-07T16:09:59Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 1 metrics

conf 

[agent]

    interval = "1s"
    logtarget = "stderr"
    flush_interval = "1s"
    metric_batch_size = 1
    metric_buffer_limit = 1
    debug = true
    quiet = false
    logfile = "/var/log/telegraf/telegraf.log"

[global_tags]

[inputs.eventhub_consumer]

    connection_string = "Endpoint=sb://ns-az1-aod-uat-greendot-eventhub-namespace-001.servicebus.windows.net/;SharedAccessKeyName=evtlog_telegraf1;SharedAccessKey=Ksmn
=;EntityPath=b24-eps-evtlog"
    enqueued_time_as_ts = true
    latest = true
    json_string_fields = [ "DateTime", "TaskID", "UniqueEventID", "ThreadID"]

    data_format = "json"

[outputs.influxdb_v2]
  urls = ["http://10.92.xx.xx:8086"]

  ## Token for authentication.
  token = "-qtHyZdVmri_sAIhg=="

  ## Organization is the name of the organization you wish to write to; must exist.
  organization = "ACI-GD"

  ## Destination bucket to write into.
  bucket = "evtlog"

I am not sure why i am getting this error. I am getting the data in Grafana.

Hello @rks83,
I’m not sure either, but why did. you make your buffer limit and batch size = 1?
I’d recommend using the default values.

ok thank you .i will try that now.

1 Like

Apr 7 20:49:37 vmaz1utteleg01 telegraf: 2022-04-07T20:49:37Z D! [agent] Successfully connected to outputs.influxdb_v2
Apr 7 20:49:37 vmaz1utteleg01 telegraf: 2022-04-07T20:49:37Z D! [agent] Starting service inputs
Apr 7 20:49:38 vmaz1utteleg01 telegraf: 2022-04-07T20:49:38Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 10000 metrics
Apr 7 20:49:39 vmaz1utteleg01 telegraf: 2022-04-07T20:49:39Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 10000 metrics
Apr 7 20:49:40 vmaz1utteleg01 telegraf: 2022-04-07T20:49:40Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 10000 metrics
Apr 7 20:49:41 vmaz1utteleg01 telegraf: 2022-04-07T20:49:41Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 10000 metrics
No Luck

None of these messages are error messages, only debug messages.

What is missing from the output is Telegraf saying it collected any metrics from your input. Are you sure there are events coming into eventhub? That plugin works by connecting to eventhub, which it looks like it succeeded or it would have errored, and then waits for messages to appear and pull down.

I would check when your latest event is in eventhub and if possible try to send a test event.

Thank you sure i am checking in Eventhubs now.

nope we are getting input from Eventhubs. But it is not reflecting it in influxDB through the Telegraf agent.

If you you believe you are getting metrics from the inputs and not sent to the output, then I would suggest adding the [[outputs.file]] output and see if any metrics are printed out. That will print any metrics collected to STDOUT. However, based on your log messages this does not appear to be the case.

I still believe that your input configuration is not collecting any events. Try the above first to see if any events show up.

ok sure. i will try.