logs from filebeat not showing up in logstash #12586
Replies: 3 comments 4 replies
-
Have you ran tcpdump as well on the manager for |
Beta Was this translation helpful? Give feedback.
-
When i run tcpdump => [root@srv-so-manager so]# cd /opt/so/log/logstash/ No response for so-logstash-pipeline-stats manager |
Beta Was this translation helpful? Give feedback.
-
I want to send all the logs from my remote log server via filebeat what configuration I must do to ensure the transfer of my logs from server log via filebeat to logstash on the manager to elasticsearch on the search node plz? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
A production deployment
Here's some informations:
/etc/soversion : 2.3.270
On-prem with Airgap=True no access to internet
Installed with Security onion image ISO
2 Nodes (1 Manager node and 1 search node )
No monitoring network traffic
So-status show all services running on the 2 nodes
Soc grid page don't show any failures (status OK)
run salt '' test.ping with et salt '' state.hignstateTrue pour manager et pour search Minion did not return/Minion returned with non-zero exit code
Salt-key -L show that keys are accepted
=>i confugured my filebeat.yml file on my remote log server to send the logs to output logstash
/[root@srvlog log]# filebeat test config
Config OK
/[root@srvlog filebeat]# filebeat test output
logstash: ...:5044...
connection...
parse host... OK
dns lookup... OK
addresses: ...
dial up... OK
TLS... WARN secure connection disabled
talk to server... OK
and on the manager I allowed the traffic with so-allow but I do not receive the logs here are the pipelines
/[root@srv-so-manager so]# cp /opt/so/saltstack/local/salt/logstash/pipelines/config/so/0009_input_beats.conf /opt/so/saltstack/local/salt/logstash/pipelines/config/so/
input {
2 beats {
3 port => "5044"
4 tags => [ "beat-ext" ]
5 }
6 }
7 filter {
8 mutate {
9 rename => {"@metadata" => "metadata"}
10 }
11 }
/[root@srv-so-manager ~]# cp /opt/so/saltstack/default/salt/logstash/pipelines/config/so/9999_output_redis.conf.jinja /opt/so/saltstack/local/salt/logstash/pipelines/config/so/
8 output {
9 if "beat-ext" in [tags] and "import" not in [tags] and "filebeat" not in [metadata][pipeline] {
10 if [metadata][_id] {
11 elasticsearch {
12 pipeline => "beats.common"
13 hosts => "...:9200"
14 {% if salt'pillar.get' is sameas true %}
15 user => " so_elastic "
16 password => " Ga[a76NGEwMaYP(R4ut|-Q6y?x5QXvE(1[KpVtN-ObZXW9K!YASR@l=e&-QKGYPL+TUBirD "
17 {% endif %}
18 index => "so-beats"
19 ssl => true
20 ssl_certificate_verification => false
21 document_id => "%{[metadata][_id]}"
22 }
23 } else {
24 elasticsearch {
25 pipeline => "beats.common"
26 hosts => "...:9200"
27 {% if salt'pillar.get' is sameas true %}
28 user => " so_elastic "
29 password => " Ga[a76NGEwMaYP(R4ut|-Q6y?x5QXvE(1[KpVtN-ObZXW9K!YASR@l=e&-QKGYPL+TUBirD "
30 {% endif %}
31 index => "so-beats"
32 ssl => true
33 ssl_certificate_verification => false
34 }
35 }
36 }
37 }
help me plz to resolve this!
Beta Was this translation helpful? Give feedback.
All reactions