Networking/Firewall

Prerequisites - Fedora Server with 64GB RAM and 4 CPU cores - Recommendations for Hardware

  1. Create a new Service named elasticsearch
    • Create the file vim /etc/firewalld/services/elasticsearch.xml

    • Add the following to define the service to elasticsearch.xml and save:

      <?xml version="1.0" encoding="utf-8"?>
      <service>
          <short>elasticsearch</short>
          <description>Elasticsearch is a real-time distributed and open source full-text search and analytics engine.</description>
          <port protocol="tcp" port=9200/>
      </service>
  2. Reload the firewall to access the new service firewall-cmd --reload
  3. Check the existing Firewall Zones firewall-cmd --get-zones
  4. Add a new zone for localhost only configs firewall-cmd --permanent --new-zone=localhost `
  5. Add the elasticsearch service to the localhost zone firewall-cmd --zone=localhost --add-service=elasticsearch --permanent
  6. List elasticsearch zone services to confirm the new service was added firewall-cmd --zone=localhost --list-services
  7. Reload the firewall again to ensure new settings take effect firewall-cmd --reload

Installation

Install Kibana

  1. Install Kibana using a package mananger:
    • dnf install kibana
  2. Enable and start the Kibana service:
    • systemctl enable --now kibana