Deploying ELK in AWS Ubuntu machine and sending Apache2 Logs
Step 1: Deploy an AWS instance of elasticsearch using Ubuntu choose t2.medium as Instance type. Step 2: Connect to the above deployed instance using SSH. Step 3: Enter sudo command and enter the below command. Step 4: Update the instance using apt-get update Step 5: Install JDK using apt install default-jdk default-jre -y Step 6: Enter the command wget -qO — https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add and sudo apt-get install apt-transport-https Step 7: Enter the command echo “deb https://artifacts.elastic.co/packages/7.x/apt stable main” | sudo tee –a /etc/apt/sources.list.d/elastic-7.x.list Step 8: Now run the update command apt-get update -y Step 9: Now install elasticserch using the command: apt-get install elasticsearch Step 10: Make configuration changes in elasticsearch.yml file using: nano /etc/elasticsearch/elasticsearch.yml a...