• 0 Votes
    32 Posts
    3k Views
    DustinB3403D

    @IRJ said in Kibana Wazuh Agent isn't showing anything in integrity:

    @DustinB3403 said in Kibana Wazuh Agent isn't showing anything in integrity:

    Well I'm making progress, I at least have nginx responding when I hit the page with An error occurred during a connection to 192.168.1.100:5601. SSL received a record that exceeded the maximum permissible length.

    Error code: SSL_ERROR_RX_RECORD_TOO_LONG

    server { listen 80; listen [::]:80; listen 5601; listen [::]:5601; return 301 https://$host$request_uri; } server { listen 443 ssl; listen [::]:443; ssl_certificate /etc/pki/tls/certs/kibana-access.pem; ssl_certificate_key /etc/pki/tls/private/kibana-access.key; access_log /var/log/nginx/nginx.access.log; error_log /var/log/nginx/nginx.error.log; location / { auth_basic "Restricted"; auth_basic_user_file /etc/nginx/conf.d/kibana.htpasswd; proxy_pass http://localhost:5601/; } }

    Why are you listening on 5601?

    proxy_pass http://localhost:5601/; will redirect 5601 to 443

    That is no longer in the file, I was testing with it. The below is current.

    server { listen 80; listen [::]:80; return 301 https://$host$request_uri; } server { listen 443 ssl; listen [::]:443; ssl on; ssl_certificate /etc/pki/tls/certs/kibana-access.pem; ssl_certificate_key /etc/pki/tls/private/kibana-access.key; access_log /var/log/nginx/nginx.access.log; error_log /var/log/nginx/nginx.error.log; location / { auth_basic "Restricted"; auth_basic_user_file /etc/nginx/conf.d/kibana.htpasswd; proxy_pass http://localhost:5601/;
  • 3 Votes
    1 Posts
    3k Views
    No one has replied
  • Wazuh Manager Install - Ubuntu

    IT Discussion
    3
    3 Votes
    3 Posts
    3k Views
    IRJI

    @wirestyle22 said in Wazuh Manager Install - Ubuntu:

    A few things:

    The manager label is wrong. It says manger instead of manager.

    @IRJ said in Wazuh Manager Install - Ubuntu:

    Install Filebeat

    There are two entries for "Install Filebeat"

    I tried to install Filebeat going command by command and it can't find it.

    Thanks I fixed the guide.

    What you need to do is this:

    #*********************************************************** #Install GPG keys and add repository #*********************************************************** curl -s https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-6.x.list #*********************************************************** # APT Update #*********************************************************** sudo apt update #*********************************************************** #Install Filebeat #*********************************************************** sudo apt install -y filebeat=6.7.1 #*********************************************************** #Download Filebeat config file to forward logs #*********************************************************** sudo curl -so /etc/filebeat/filebeat.yml https://raw.githubusercontent.com/wazuh/wazuh/3.8/extensions/filebeat/filebeat.yml #*********************************************************** #Edit Filebeat config file to point to Elastic Server IP (In this lab environment I am using 127.0.0.1) #*********************************************************** sed -i 's/YOUR_ELASTIC_SERVER_IP/192.168.122.181/' /etc/filebeat/filebeat.yml #*********************************************************** #Start Filebeat service and configure it to automatically start at boot #*********************************************************** sudo systemctl daemon-reload sudo systemctl enable filebeat.service sudo systemctl start filebeat.service

    make sure to change 192.168.122.181 with your ip or localhost if you are using a single server for wazuh and ELK