加西亚马尔克斯 2020-06-15 09:15 采纳率: 0%
浏览 174
已结题

mongo-logstash-Elasticsearch获取数据一直test.find

下面是日志{“ @timestamp”:“ 2020-06-12T05:45:40.357Z”,“ mongoipdz”:“ ns2.smartunits.com”,“ mongoym”:“ domaincontrol.ca”,“ utype”:“ ns “,” type“:” sy“,” _ class“:” com.cetc15.dept6.ccs1.mongo.entity.ymxw.sy“,” uid“:” 5edfa69d28a11f6070c9b722“,” la st_seen“:” 2020-06- 09T15:11:25Z“}
{” @timestamp“:” 2020-06-12T05:45:40.357Z“,” mongoipdz“:” ns1.smartunits.com root.smartunits.com 2019021501 3600 1800 6 04800 86400“,” mongoym“:” domaincontrol.ca“,” utype“:” soa“,” type“:” sy“,” _ class“:” com.cetc15.dept6.ccs1.mongo.ent ity.ymxw.sy“,”uid“:” 5edfa69d28a11f6070c9b723“,” last_seen“:” 2020-06-09T15:11:25Z“}
D,[2020-06-11T21:45:45.383443#2430]调试-:MONGODB | [813] 192.168.24.15:23000#1 | test.find | 已开始| {“ f ind” =>“ sy”,“ filter” => {“ _ id” => {“ $ gt” => BSON :: ObjectId('5edfa69d28a11f6070c9b723')}},“ limit” => 1000000,“ $ db“ =>” test“}
D,[2020-06-11T21:45:45.387394#2430]调试-:MONGODB | [813] 192.168.24.15:23000 | test.find | 成功| 0.00 3s
D,[2020-06-11T21:45:45.396356#2430]调试-:MONGODB | [814] 192.168.24.15:23000#1 | test.listCollections | ST ARTED | {“ listCollections” => 1,“ cursor” => {},“ nameOnly” => true,“ $ db” =>“ test”}
D,[2020-06-11T21:45:45.400356#2430]调试- -:MONGODB | [814] 192.168.24.15:23000 | test.listCollections | EDED成功| 0.003秒
D,[2020-06-11T21:45:50.411737#2430]调试-:MONGODB | [815] 192.168.24.15:23000#1 | test.find | 已开始| {“ f ind” =>“ sy”,“ filter” => {“ _ id” => {“ $ gt” => BSON :: ObjectId('5edfa69d28a11f6070c9b723')}},“ limit” => 1000000,“ $ db“ =>” test“}
D,[2020-06-11T21:45:50.415618#2430]调试-:MONGODB | [815] 192.168.24.15:23000 | test.find | 成功| 0.00 3s
D,[2020-06-11T21:45:50.426620#2430]调试-:MONGODB | [816] 192.168.24.15:23000#1 | test.listCollections | ST ARTED | {“ listCollections” => 1,“ cursor” => {},“ nameOnly” => true,“ $ db” =>“ test”}
D,[2020-06-11T21:45:50.431588#2430]调试- -:MONGODB | [816] 192.168.24.15:23000 | test.listCollecti`ons | EDED成功| 0.004秒
D,[2020-06-11T21:45:55.443309#2430]调试-:MONGODB | [817] 192.168.24.15:23000#1 | test.find | 已开始| {“ f ind” =>“ sy”,“ filter” => {“ _ id” => {“ $ gt” => BSON :: ObjectId('5edfa69d28a11f6070c9b723')}},“ limit” => 1000000,“ $ db“ =>” test“}
D,[2020-06-11T21:45:55.447383#2430]调试-:MONGODB | [817] 192.168.24.15:23000 | test.find | 成功| 0.00 3s
D,[2020-06-11T21:45:55.461716#2430]调试-:MONGODB | [818] 192.168.24.15:23000#1 | test.listCollections | ST ARTED | {“ listCollections” => 1,“光标” = >> {},“ nameOnly” => true,“ $ db” =>“ test”}
D,[2020-06-11T21:45:55.467978#2430]调试- -:MONGODB | [818] 192.168.24.15:23000 | test.listCollections | EDED成功|
0.004s
下面的没复制了

开始重复着上面的test.find
各位前辈这是mongo数据库的问题还是通道的问题还是es的问题?
我看见这里一直在弄这个debug -- : mongodb

一直刷上面这个日志
现在mongo的数据也进不到es不知道问题在哪

  • 写回答

1条回答 默认 最新

  • Facing_thorns 2020-06-15 10:32
    关注

    用的logstash-input-mongodb?是不是库中只导入了一部分数据,后续数据丢失,日志中循环打印的是mongo库对应表的最后一条(最新)数据 ?

    评论

报告相同问题?

悬赏问题

  • ¥15 编辑cmake lists 明明写了project项目名,但是还是报错怎么回事
  • ¥15 关于#计算机视觉#的问题:求一份高质量桥梁多病害数据集
  • ¥15 特定网页无法访问,已排除网页问题
  • ¥50 如何将脑的图像投影到颅骨上
  • ¥15 提问一个关于vscode相关的环境配置问题,就是输入中文但是显示不出来,代码在idea可以显示中文,但在vscode不行,不知道怎么配置环境
  • ¥15 netcore使用PuppeteerSharp截图
  • ¥20 这张图页头,页脚具体代码该怎么写?
  • ¥15 关于#sql#的问题,请各位专家解答!
  • ¥20 WPF MVVM模式 handycontrol 框架, hc:SearchBar 控件 Text="{Binding NavMenusKeyWords}" 绑定取不到值
  • ¥15 需要手写数字信号处理Dsp三个简单题 不用太复杂