Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!
1. Describe your incident:
i have installed sidecar1.1.0 and filebeat 7.16.0 in my vm successfully and i can see running status of sidecare in my graylog which is running in another vm . i have defined beat input with port 5044 as well
i set configuration to ship log from /var/log/*log for test but there is no log coming to graylog due to in filebeat log there is no error and i have activated debug i do not know filebeat is not sending log or it is sending but graylog can not process it ? i run tcpdump
2. Describe your environment:
- OS Information:
OS : Ubuntu 18.04.6 LTS ----which filebeat and sidecare have been installed
i run graylog is based on container - Package Version:
elasticsearch:7.14.1
graylog:4.3.2
mongo:4.4.10
- Service logs, configurations, and environment variables:
filebeat log as follows:
2021-12-14T15:23:47.300+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/ubuntu-advantage-timer.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::2440-2049”, “path”: “/var/log/ubuntu-advantage-timer.log”, “state-id”: “native::2440-2049”}
2021-12-14T15:23:47.300+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/cloud-init-output.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::63407-2049”, “path”: “/var/log/cloud-init-output.log”, “state-id”: “native::63407-2049”}
2021-12-14T15:23:47.300+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/kern.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::63460-2049”, “path”: “/var/log/kern.log”, “state-id”: “native::63460-2049”}
2021-12-14T15:23:47.300+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/ubuntu-advantage.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::1990-2049”, “path”: “/var/log/ubuntu-advantage.log”, “state-id”: “native::1990-2049”}
2021-12-14T15:23:47.301+0100 DEBUG [processors] processing/processors.go:203 Publish event: {
“@timestamp”: “2021-12-14T14:23:47.300Z”,
“@metadata”: {
“beat”: “filebeat”,
“type”: “_doc”,
“version”: “7.16.0”
},
“host”: {
“name”: “aqnodets1”
},
“agent”: {
“name”: “aqnodets1”,
“type”: “filebeat”,
“version”: “7.16.0”,
“hostname”: “aqnodets1”,
“ephemeral_id”: “2ee4b2a6-ce27-42fd-9d26-17ad8fc94de8”,
“id”: “20869de9-df73-4b48-b4d7-853f59cb527a”
},
“log”: {
“file”: {
“path”: “/var/log/mina.log”
},
“offset”: 246
},
“message”: “hi mina”,
“input”: {
“type”: “filestream”
},
“collector_node_id”: “aqnodets1”,
“gl2_source_collector”: “c51aa97d-2226-42c3-9e32-cf48a1ff67d4”,
“ecs”: {
“version”: “1.12.0”
}
}
2021-12-14T15:23:47.301+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/mina.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::71611-2049”, “path”: “/var/log/mina.log”, “state-id”: “native::71611-2049”}
2021-12-14T15:23:47.976+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/mail.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::62181-2049”, “path”: “/var/log/mail.log”, “state-id”: “native::62181-2049”}
2021-12-14T15:23:47.976+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/fail2ban.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::61415-2049”, “path”: “/var/log/fail2ban.log”, “state-id”: “native::61415-2049”}
2021-12-14T15:23:48.305+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/mina.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::71611-2049”, “path”: “/var/log/mina.log”, “state-id”: “native::71611-2049”}
2021-12-14T15:23:48.306+0100 DEBUG [logstash] logstash/async.go:172 1 events out of 1 events sent to logstash host 192.168.33.106:5044. Continue sending
2021-12-14T15:23:48.308+0100 DEBUG [publisher] memqueue/ackloop.go:160 ackloop: receive ack [60: 0, 1]
2021-12-14T15:23:48.308+0100 DEBUG [publisher] memqueue/eventloop.go:535 broker ACK events: count=1, start-seq=3, end-seq=3
2021-12-14T15:23:48.308+0100 DEBUG [acker] beater/acker.go:64 stateless ack {“count”: 1}
2021-12-14T15:23:48.308+0100 DEBUG [publisher] memqueue/ackloop.go:128 ackloop: return ack to broker loop:1
2021-12-14T15:23:48.308+0100 DEBUG [publisher] memqueue/ackloop.go:131 ackloop: done send ack
2021-12-14T15:23:48.318+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/alternatives.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::71572-2049”, “path”: “/var/log/alternatives.log”, “state-id”: “native::71572-2049”}
2021-12-14T15:23:48.319+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/dpkg.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::63335-2049”, “path”: “/var/log/dpkg.log”, “state-id”: “native::63335-2049”}
2021-12-14T15:23:48.319+0100 DEBUG [input.filestream] filestream/filestream.go:131 End of file reached: /var/log/apport.log; Backoff now. {“id”: “204AB73A26FB6EDC”, “source”: “filestream::.global::native::71618-2049”, “path”: "/var/log/apport.
tcpdump:
Graylog IP adrs :192.168.33.106
server that farebeat is installed on it :192.168.33.104
Running as user “root” and group “root”. This could be dangerous.
1 0.000000 192.168.33.104 → 192.168.33.106 TCP 66 40004 → 5044 [ACK] Seq=1 Ack=1 Win=502 Len=0 TSval=3600304295 TSecr=2683767161
2 0.000429 192.168.33.106 → 192.168.33.104 TCP 66 [TCP ACKed unseen segment] 5044 → 40004 [ACK] Seq=1 Ack=2 Win=17992 Len=0 TSval=2683782265 TSecr=3600243955
3 15.104970 192.168.33.104 → 192.168.33.106 TCP 66 [TCP Dup ACK 1#1] 40004 → 5044 [ACK] Seq=1 Ack=1 Win=502 Len=0 TSval=3600319400 TSecr=2683782265
4 15.105357 192.168.33.106 → 192.168.33.104 TCP 66 [TCP Dup ACK 2#1] [TCP ACKed unseen segment] 5044 → 40004 [ACK] Seq=1 Ack=2 Win=17992 Len=0 TSval=2683797370 TSecr=3600243955
5 30.208433 192.168.33.104 → 192.168.33.106 TCP 66 [TCP Dup ACK 1#2] 40004 → 5044 [ACK] Seq=1 Ack=1 Win=502 Len=0 TSval=3600334503 TSecr=2683797370
6 30.209046 192.168.33.106 → 192.168.33.104 TCP 66 [TCP Dup ACK 2#2] [TCP ACKed unseen segment] 5044 → 40004 [ACK] Seq=1 Ack=2 Win=17992 Len=0 TSval=2683812474 TSecr=3600243955
7 45.313469 192.168.33.104 → 192.168.33.106 TCP 66 [TCP Dup ACK 1#3] 40004 → 5044 [ACK] Seq=1 Ack=1 Win=502 Len=0 TSval=3600349608 TSecr=2683812474
8 45.313770 192.168.33.106 → 192.168.33.104 TCP 66 [TCP Dup ACK 2#3] [TCP ACKed unseen segment] 5044 → 40004 [ACK] Seq=1 Ack=2 Win=17992 Len=0 TSval=2683827579 TSecr=3600243955
9 60.422802 192.168.33.104 → 192.168.33.106 TCP 66 [TCP Dup ACK 1#4] 40004 → 5044 [ACK] Seq=1 Ack=1 Win=502 Len=0 TSval=3600364717 TSecr=2683827579
10 60.423053 192.168.33.106 → 192.168.33.104 TCP 66 [TCP Dup ACK 2#4] [TCP ACKed unseen segment] 5044 → 40004 [ACK] Seq=1 Ack=2 Win=17992 Len=0 TSval=2683842688 TSecr=3600243955
11 64.736825 192.168.33.104 → 192.168.33.106 TCP 425 [TCP Previous segment not captured] 40004 → 5044 [PSH, ACK] Seq=2 Ack=1 Win=502 Len=359 TSval=3600369031 TSecr=2683842688
12 64.737639 192.168.33.106 → 192.168.33.104 TCP 72 [TCP ACKed unseen segment] 5044 → 40004 [PSH, ACK] Seq=1 Ack=361 Win=18260 Len=6 TSval=2683847003 TSecr=3600369031
13 64.737652 192.168.33.104 → 192.168.33.106 TCP 66 40004 → 5044 [ACK] Seq=361 Ack=7 Win=502 Len=0 TSval=3600369032 TSecr=2683847003
14 79.872205 192.168.33.104 → 192.168.33.106 TCP 66 [TCP Keep-Alive] 40004 → 5044 [ACK] Seq=360 Ack=7 Win=502 Len=0 TSval=3600384166 TSecr=2683847003
15 79.872709 192.168.33.106 → 192.168.33.104 TCP 66 [TCP Keep-Alive ACK] 5044 → 40004 [ACK] Seq=7 Ack=361 Win=18260 Len=0 TSval=2683862138 TSecr=3600369032
3. What steps have you already taken to try and solve the problem?
check log of filebeat ,graylog , run tcpdump
4. How can the community help?
Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]