ELKSTACK

  • Java
Please feel free to contact us
Go

About

ELK Powered by Niles  is a comprehensive end-to-end log analysis solution that helps in deep searching, analysing, and visualizing the logs generated from different machines. The product is configured by Niles and is now available on the Azure Cloud Platform. Companies all over the world use this tool to perform critical business functions. This tool is most commonly used together for centralized logging and for web analytics as well.
 

ELK has the following components:

  • Elasticsearch is a search and analytics engine
  • Logstash is a data processing pipeline that ingests data from multiple sources concurrently, transforms it, and then sends it to a stash.
  • Kibana enables users to visualize data with charts and graphs in Elasticsearch

Niles Partners is launching a product that will configure and publish Elasticsearch, Logtash and Kibana, a comprehensive end-to-end log analysis solution which is embedded with Ubuntu along with ready-to-launch Machine Image on Azure that contains Elasticsearch, Kibana and Logstash.

Niles configured ELK Stack does not use its fourth attribute Beats. Elasticsearch, LogStash, Kibana and Beats are trademarks of Elasticsearch BV.  Elasticsearch, Logstash, and Kibana are registered in the U.S. and in other countries. 
 

Niles is only configuring the product with its own referencing styles.

Simply put, Logstash collects and analyzes logs and then Elasticsearch indexes and stores the data. Kibana subsequently presents the information in visualizations that provide actionable insights.
 

These tools are spread across a compilation of different languages. Beats are written in “Go” for the convenient, efficient distribution of compiled binaries while Kibana uses JavaScript for combined development of frontend and backend mechanisms.

Logstash

Logstash serves as the pillar for storage, querying, and analysis of the logs. With Logstash, it’s really easy to collect those logs and store them in a single centralized location. The only precondition is Java 8 runtime, and it takes only about two commands to get Logstash running. Since, it has a collection of ready-made inputs, codecs, filters, and outputs, users can grab hold of a dynamic feature-set easily.

Elasticsearch

Elasticsearch, a NoSQL database is based on the Lucene search engine. A single developer can use it to find the high-value information underneath all data haystacks, so users can put their team of data scientists to work efficiently. Elasticsearch comes along with these benefits:

  • Document orientation
  • Real-time analytics
  • Full-text search
  • Real-time data

Kibana

Kibana is a log-data dashboard which can be installed on Linux, Windows, and Mac. It runs on Node.js, along with the installation packages that come incorporated with the required binaries. It provides a better grip on large data stores with point-and-click pie charts, trend lines, bar graphs, maps, and scatter plots. In the long run, users from each business line can make practical use of data collection, as this helps them to customize their dashboards.

  1. Type virtual machines in the search.
     
  2. Under Services, select Virtual machines.
  3. In the Virtual machines page, select Add. The Create a virtual machine page opens.
     
  4. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group. Type myResourceGroup for the name.*.
     
  5. Under Instance details, type myVM for the Virtual machine name, choose East US for your Region, and choose Ubuntu 18.04 LTS for your Image. Leave the other defaults.
  6. Under Administrator account, select SSH public key, type your user name, then paste in your public key. Remove any leading or trailing white space in your public key.
     
  7. Under Inbound port rules > Public inbound ports, choose Allow selected ports and then select SSH (22) and HTTP (80) from the drop-down.
  8. Leave the remaining defaults and then select the Review + create button at the bottom of the page.
  9. On the Create a virtual machine page, you can see the details about the VM you are about to create. When you are ready, select Create.

It will take a few minutes for your VM to be deployed. When the deployment is finished, move on to the next section.

Connect to virtual machine

Usage/Deployment Instructions

Step 1: Access the ELK Stack from Azure Marketplace and click ON Get it now button and then click on Continue.

 

 

Click on create button.

Step 2: In the Create a virtual machine, enter or select appropriate values for zone, machine type, resource group and so on as per your choice.

Click on create button.

Step 3:  The Azure create vm Console confirms that ELK STACK was deployed :

Use the browser to access the application at http://<instance ip address> replace <instance ip address> with the actual IP address of the running instance.

Note: You will get the Instance IP Address as shown in the screenshot below:

Step 4: Add the following ports under Security – Inbound Security rules as shown below

Step 5: Do SSH

Step 6: Use following Linux command to start ELK

$ echo “kibanaadmin:`openssl passwd -apr1`” | sudo tee -a /etc/nginx/htpasswd.users

Note: Enter the password as you like

$ nano /etc/nginx/sites-available/kibana

Note: Change the server name with your Public ip of the running instance.

Note: Do not copy and paste the command, please type It manually.

$rm –fr /etc/nginx/sites-enabled/kibana

$ ln -s /etc/nginx/sites-available/kibana /etc/nginx/sites-enabled/kibana

$ systemctl restart nginx

Step 7: Hit the public ip of the running instance on the browser. Enter the username as “kibanaadmin” and password as you entered in step 2.

Enjoy your application.

Submit Your Request

Captcha

Until now, small developers did not have the capital to acquire massive compute resources and ensure they had the capacity they needed to handle unexpected spikes in load. Amazon EC2 enables any developer to leverage Amazon’s own benefits of massive scale with no up-front investment or performance compromises. Developers are now free to innovate knowing that no matter how successful their businesses become, it will be inexpensive and simple to ensure they have the compute capacity they need to meet their business requirements.

The “Elastic” nature of the service allows developers to instantly scale to meet spikes in traffic or demand. When computing requirements unexpectedly change (up or down), Amazon EC2 can instantly respond, meaning that developers have the ability to control how many resources are in use at any given point in time. In contrast, traditional hosting services generally provide a fixed number of resources for a fixed amount of time, meaning that users have a limited ability to easily respond when their usage is rapidly changing, unpredictable, or is known to experience large peaks at various intervals.

 

Traditional hosting services generally provide a pre-configured resource for a fixed amount of time and at a predetermined cost. Amazon EC2 differs fundamentally in the flexibility, control and significant cost savings it offers developers, allowing them to treat Amazon EC2 as their own personal data center with the benefit of Amazon.com’s robust infrastructure.

When computing requirements unexpectedly change (up or down), Amazon EC2 can instantly respond, meaning that developers have the ability to control how many resources are in use at any given point in time. In contrast, traditional hosting services generally provide a fixed number of resources for a fixed amount of time, meaning that users have a limited ability to easily respond when their usage is rapidly changing, unpredictable, or is known to experience large peaks at various intervals.

Secondly, many hosting services don’t provide full control over the compute resources being provided. Using Amazon EC2, developers can choose not only to initiate or shut down instances at any time, they can completely customize the configuration of their instances to suit their needs – and change it at any time. Most hosting services cater more towards groups of users with similar system requirements, and so offer limited ability to change these.

Finally, with Amazon EC2 developers enjoy the benefit of paying only for their actual resource consumption – and at very low rates. Most hosting services require users to pay a fixed, up-front fee irrespective of their actual computing power used, and so users risk overbuying resources to compensate for the inability to quickly scale up resources within a short time frame.

 

No. You do not need an Elastic IP address for all your instances. By default, every instance comes with a private IP address and an internet routable public IP address. The private address is associated exclusively with the instance and is only returned to Amazon EC2 when the instance is stopped or terminated. The public address is associated exclusively with the instance until it is stopped, terminated or replaced with an Elastic IP address. These IP addresses should be adequate for many applications where you do not need a long lived internet routable end point. Compute clusters, web crawling, and backend services are all examples of applications that typically do not require Elastic IP addresses.

 

You have complete control over the visibility of your systems. The Amazon EC2 security systems allow you to place your running instances into arbitrary groups of your choice. Using the web services interface, you can then specify which groups may communicate with which other groups, and also which IP subnets on the Internet may talk to which groups. This allows you to control access to your instances in our highly dynamic environment. Of course, you should also secure your instance as you would any other server.

 

Highlights

  • Elasticsearch is a search and analytics engine
  • Logstash is a data processing pipeline which ingests data from multiple sources concurrently, transforms it, and then sends it to a stash.
  • Kibana enables the users to visualize data using charts and graphs in Elasticsearch

Application Installed