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

facing issue while reading one log event present in logfile #2382

himmatb opened this Issue Apr 15, 2019 · 3 comments


None yet
2 participants
Copy link

commented Apr 15, 2019

  • fluentd or td-agent version: fluentd 1.3.3

  • Environment information:

    • Operating system: windows 21012 R2
  • My configuration

    path "C:\\Bharath020419100816.txt"
    pos_file etc/td-agent/pos/xxxxxxxxxx.pos
    tag xxxxxxxx
    path_key tailed_path 
    format none
    read_from_head true

<filter xxxxxx-**>
    @type record_modifier
        entity "xxxxxxxxxx"
        shipped_time "${}"
        log_time "${record['tailed_path'].split(\"/\")[-1].split(\".\")[0][-12..-1]}"
        component ${tag}
        hostname "#{Socket.gethostname}"
<match **>
   @type stdout
  • Our problem explanation :

One of application is one event logs to one file with timestamp extension to file example : xxxxxxxxxxxxxxxxxx020419100816.txt

Each event is writing one log event in single logfile with timestamp at prefix of file as above examples.
when i am providing enter at end of log event in file then only its start consuming. but i should not be change any content in log file because its written by application itself.

example of log event :--
Log file : xxxxxxxxxxxxxxxxxx020419100816.txt

Below is just example one Log event in file :--
2019-04-14 17:00:45.234 DEBUG com.cs.xxxxxxxxxxxxxxxxxxx(

Let me know if you need any other information.
Please help me to identify this issue.


This comment has been minimized.

Copy link

commented Apr 15, 2019

I am following same steps in RHEL server using same file using td-agent , Fluentd is able to read that event !! is there some bug with windows td-agent agent ? not sure how to debug more on this ..


This comment has been minimized.

Copy link

commented Apr 16, 2019

Please try path "C:/Bharath020419100816.txt".

See also


This comment has been minimized.

Copy link

commented Apr 18, 2019

its didn't worked. when i am hitting EOF with new line , its started capturing logs. but if no newline character at end of log event, its not capturing anything from log file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.