flushers是flusher_elasticsearch情况下,time属性是秒级的,怎么设置成毫秒或者纳秒 #1972
-
这是我的采集配置
|
Beta Was this translation helpful? Give feedback.
Answered by
Takuka0311
Dec 18, 2024
Replies: 1 comment 1 reply
-
可以查询一下源码 flusher_elasticsearch输出的时间是在代码中指定的,跟EnableTimestampNanosecond参数无关,如果需要可以修改一下代码来支持 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Takuka0311
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以查询一下源码
loongcollector/plugins/flusher/elasticsearch/flusher_elasticsearch.go
Line 189 in 95f2530
flusher_elasticsearch输出的时间是在代码中指定的,跟EnableTimestampNanosecond参数无关,如果需要可以修改一下代码来支持