# \#tail

**URL:** https://community.influxdata.com/tag/tail/98.md

[Latest](https://community.influxdata.com/latest.md) · [Categories](https://community.influxdata.com/categories.md) · [Tags](https://community.influxdata.com/tags.md)

---

## [Is there a way to detect/monitor parsing lag in the tail input plugin?](https://community.influxdata.com/t/is-there-a-way-to-detect-monitor-parsing-lag-in-the-tail-input-plugin/58442)

<div class="topic-metadata">

**Author:** [@Mihyun](https://community.influxdata.com/u/Mihyun)\
**Replies:** 1\
**Last updated:** [April 29, 2026, 5:07pm UTC](https://community.influxdata.com/t/is-there-a-way-to-detect-monitor-parsing-lag-in-the-tail-input-plugin/58442 "2026-04-29T17:07:34Z")

</div>

Hi everyone, I’m using the tail input plugin with the grok parser to parse application logs at scale. I’ve confirmed that when log generation exceeds the parsing throughput, Telegraf continues to parse but falls behind…

---

## [Add user-defined tag in Grok input](https://community.influxdata.com/t/add-user-defined-tag-in-grok-input/58156)

<div class="topic-metadata">

**Author:** [@HarimbolaSantatra](https://community.influxdata.com/u/HarimbolaSantatra)\
**Replies:** 1\
**Last updated:** [December 7, 2025, 12:22pm UTC](https://community.influxdata.com/t/add-user-defined-tag-in-grok-input/58156 "2025-12-07T12:22:48Z")

</div>

Is there a way to insert a user-defined tag in a tail input with grok pattern ? For example, I’m parsing the following line (extracted from /var/log/secure): Dec 7 11:52:54 myusername sshd-session\[24595\]: pam\_unix(ssh…

---

## [Tail Multiline - Set line limit](https://community.influxdata.com/t/tail-multiline-set-line-limit/39489)

<div class="topic-metadata">

**Author:** [@rkoehler](https://community.influxdata.com/u/rkoehler)\
**Replies:** 1\
**Last updated:** [November 24, 2024, 11:27am UTC](https://community.influxdata.com/t/tail-multiline-set-line-limit/39489 "2024-11-24T11:27:22Z")

</div>

Hello together, I have the problem of pulling some log files which have some extremly long log entries. While the first lines do contain useful informations i want to throw anything which comes after those away and not…

---

## [Generating metrics from log file tail](https://community.influxdata.com/t/generating-metrics-from-log-file-tail/37199)

<div class="topic-metadata">

**Author:** [@Carl\_Rees](https://community.influxdata.com/u/Carl_Rees)\
**Replies:** 4\
**Last updated:** [September 20, 2024, 10:46am UTC](https://community.influxdata.com/t/generating-metrics-from-log-file-tail/37199 "2024-09-20T10:46:05Z")

</div>

Hello all, first post I have a logfile in this format: \[ERROR\] 2024-09-14T09:49:27Z master\_1 runtime ORA\_WRITE restofmessage \[INFO \] 2024-09-14T09:49:27Z master\_2 runtime ORA\_VALID restofmymessage \[FATAL\] 2024-09-14T…

---

## [Telegraf agent not starting inputs.tail expect when starting from inside of docker container](https://community.influxdata.com/t/telegraf-agent-not-starting-inputs-tail-expect-when-starting-from-inside-of-docker-container/35042)

<div class="topic-metadata">

**Author:** [@Evolutio](https://community.influxdata.com/u/Evolutio)\
**Replies:** 1\
**Last updated:** [July 23, 2024, 7:49pm UTC](https://community.influxdata.com/t/telegraf-agent-not-starting-inputs-tail-expect-when-starting-from-inside-of-docker-container/35042 "2024-07-23T19:49:49Z")

</div>

Hello, I tried to setup telegraf with docker with the tail plugin enabled. My telegraf.conf looks like this: \[agent\] interval = "10s" round\_interval = true metric\_batch\_size = 1000 metric\_buffer\_limit = 10000 …

---

## [Understand tail input plugin telegraf](https://community.influxdata.com/t/understand-tail-input-plugin-telegraf/34981)

<div class="topic-metadata">

**Author:** [@fferraro87](https://community.influxdata.com/u/fferraro87)\
**Replies:** 4\
**Last updated:** [July 17, 2024, 1:09pm UTC](https://community.influxdata.com/t/understand-tail-input-plugin-telegraf/34981 "2024-07-17T13:09:18Z")

</div>

Hi, i’m trying to diving into tail input plugin. Right now i’ve configured on my telegraf configuration this snippet: \[\[inputs.tail\]\] name\_override = "accesslog" files = \["/var/log/httpd/sslaccess\_\*.log"\] data\_format …

---

## [Telegraf tail doesn't send data to InfluxDB v2 in a bucket](https://community.influxdata.com/t/telegraf-tail-doesnt-send-data-to-influxdb-v2-in-a-bucket/34903)

<div class="topic-metadata">

**Author:** [@ukyanjo](https://community.influxdata.com/u/ukyanjo)\
**Replies:** 2\
**Last updated:** [July 11, 2024, 9:26am UTC](https://community.influxdata.com/t/telegraf-tail-doesnt-send-data-to-influxdb-v2-in-a-bucket/34903 "2024-07-11T09:26:57Z")

</div>

Hello our team has used telegraf - influxdb v2 - grafana for a long time and decided to use tail plugin this time for nginx access.log I added tail plugin options in the conf file and restarted telegraf and telegraf.log…

---

## [Input tail and file problem and test](https://community.influxdata.com/t/input-tail-and-file-problem-and-test/33461)

<div class="topic-metadata">

**Author:** [@Artax1442](https://community.influxdata.com/u/Artax1442)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 1:11pm UTC](https://community.influxdata.com/t/input-tail-and-file-problem-and-test/33461 "2024-03-06T13:11:40Z")

</div>

Hello Im configuring a input.file with telegraf im reading for a file.log the problem is the text have lines since 2012 to 2024. only 1 line per day i send the data to influx using grok is there some way to see for …

---

## [Duplicate Data Point in InfluxDB](https://community.influxdata.com/t/duplicate-data-point-in-influxdb/33106)

<div class="topic-metadata">

**Author:** [@Nilesh786](https://community.influxdata.com/u/Nilesh786)\
**Replies:** 5\
**Last updated:** [February 7, 2024, 8:41am UTC](https://community.influxdata.com/t/duplicate-data-point-in-influxdb/33106 "2024-02-07T08:41:24Z")

</div>

Hello All, My usecase to read from a json output file wriiten by K6 (an opensource load testing tool) and write every new json to influxdb via telegraf. I have deployed two pods in k8s cluster for this purpose, one is a…

---

## [Tail plugin stops reading on windows due to the lock of the file](https://community.influxdata.com/t/tail-plugin-stops-reading-on-windows-due-to-the-lock-of-the-file/30109)

<div class="topic-metadata">

**Author:** [@AlexL](https://community.influxdata.com/u/AlexL)\
**Replies:** 4\
**Last updated:** [May 31, 2023, 9:01am UTC](https://community.influxdata.com/t/tail-plugin-stops-reading-on-windows-due-to-the-lock-of-the-file/30109 "2023-05-31T09:01:27Z")

</div>

Hello, I noticed that once in couple of days, I get this error in the log: After that, tail plugin stops picking up changes from the file. I tried inotify and poll methods, same thing. How to resolve it? thank yo…

---

## [Telegraf tail Input plugin does not read newly created log file after retention](https://community.influxdata.com/t/telegraf-tail-input-plugin-does-not-read-newly-created-log-file-after-retention/29866)

<div class="topic-metadata">

**Author:** [@nekit681999](https://community.influxdata.com/u/nekit681999)\
**Replies:** 3\
**Last updated:** [May 16, 2023, 8:10pm UTC](https://community.influxdata.com/t/telegraf-tail-input-plugin-does-not-read-newly-created-log-file-after-retention/29866 "2023-05-16T20:10:11Z")

</div>

Hello! I have the Java Spring application with Logback logging framework which places logs in application.log file. And I’m using telegraf tail input plugin to collect specific events from this file. Logback has SizeAnd…

---

## [Telegraf tail-plugin with grok: no data written to influxdb](https://community.influxdata.com/t/telegraf-tail-plugin-with-grok-no-data-written-to-influxdb/27393)

<div class="topic-metadata">

**Author:** [@astrakid](https://community.influxdata.com/u/astrakid)\
**Replies:** 4\
**Last updated:** [November 17, 2022, 6:47am UTC](https://community.influxdata.com/t/telegraf-tail-plugin-with-grok-no-data-written-to-influxdb/27393 "2022-11-17T06:47:15Z")

</div>

hi, i am parsing an sftp-log for certain requests. if matched an entry should be written in influxdb. this is my telegraf-conf: files = \["/var/log/proftpd/sftp.log"\] watch\_method = "inotify" from\_beginning = tru…

---

## [Telegraf tail - Alerting on log level](https://community.influxdata.com/t/telegraf-tail-alerting-on-log-level/25129)

<div class="topic-metadata">

**Author:** [@curiousghost](https://community.influxdata.com/u/curiousghost)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 4:59pm UTC](https://community.influxdata.com/t/telegraf-tail-alerting-on-log-level/25129 "2022-05-23T16:59:41Z")

</div>

Hi team, I’m using the telegraf tail plugin+GROK to ingest my custom application logs to Grafana. I can see the log data in the Table visualization, but I want to create an alert email that sends the log level + log mess…

---

## [Will tail plugin work for this scenario](https://community.influxdata.com/t/will-tail-plugin-work-for-this-scenario/24096)

<div class="topic-metadata">

**Author:** [@Ved](https://community.influxdata.com/u/Ved)\
**Replies:** 4\
**Last updated:** [March 4, 2022, 12:40am UTC](https://community.influxdata.com/t/will-tail-plugin-work-for-this-scenario/24096 "2022-03-04T00:40:32Z")

</div>

Hi, I am a newbie using telegraf to write some custom data to influx DB. My application writes logs in this format every 15 minutes: i-name;m-time;i-flag;time-stamp;violations;uncorrected-data;retransmitted-data;error-…

---

## [Sending data from log file to influx with tail plugin](https://community.influxdata.com/t/sending-data-from-log-file-to-influx-with-tail-plugin/21367)

<div class="topic-metadata">

**Author:** [@Splotsch](https://community.influxdata.com/u/Splotsch)\
**Replies:** 0\
**Last updated:** [August 24, 2021, 4:23pm UTC](https://community.influxdata.com/t/sending-data-from-log-file-to-influx-with-tail-plugin/21367 "2021-08-24T16:23:40Z")

</div>

I’m trying to use the tail-plugin in telegraf to read data from a log file and push it into influxdb. The logfile only contains temperature values that are created by an arduino, and would look like this: 23,4 23,5 2…

---

## [Getting an invalid or unsupported using Grok and regexp](https://community.influxdata.com/t/getting-an-invalid-or-unsupported-using-grok-and-regexp/21229)

<div class="topic-metadata">

**Author:** [@jorgedlcruz](https://community.influxdata.com/u/jorgedlcruz)\
**Replies:** 1\
**Last updated:** [August 16, 2021, 6:28pm UTC](https://community.influxdata.com/t/getting-an-invalid-or-unsupported-using-grok-and-regexp/21229 "2021-08-16T18:28:18Z")

</div>

Hello, I am facing a strange issue and I am not sure what to do next, long story short, using tail with the next config: # Offload Job - Task ID and final status per VM \[\[inputs.tail\]\] files = \["C:\\\\ProgramData\\\\Veea…

---

## [Telegraf Tail plugin - Multiline management](https://community.influxdata.com/t/telegraf-tail-plugin-multiline-management/19431)

<div class="topic-metadata">

**Author:** [@Gl0ups](https://community.influxdata.com/u/Gl0ups)\
**Replies:** 1\
**Last updated:** [April 20, 2021, 9:26pm UTC](https://community.influxdata.com/t/telegraf-tail-plugin-multiline-management/19431 "2021-04-20T21:26:51Z")

</div>

Hi, I’m using Telegraf and its tail plugin to collect several logfiles. Everything is send with data\_format = “json” ( I can’t change this way for project reasons) For classical logfile, I have no problem using this c…

---

## [Rate limiting telegraf tail plugin log files](https://community.influxdata.com/t/rate-limiting-telegraf-tail-plugin-log-files/19041)

<div class="topic-metadata">

**Author:** [@prashanthjbabu](https://community.influxdata.com/u/prashanthjbabu)\
**Replies:** 11\
**Last updated:** [March 26, 2021, 10:23am UTC](https://community.influxdata.com/t/rate-limiting-telegraf-tail-plugin-log-files/19041 "2021-03-26T10:23:07Z")

</div>

Hello! I have telegraf running with the tail plugin configured to watch a particular file . My output plugin is influxdb. I’ve noticed that telegraf pushes data as soon as the output buffer is full ( by default 1000 poi…
