Splunk 简明教程

Splunk - Environment

在本教程中,我们旨在安装企业版本。此版本可免费试用 60 天,所有功能均已启用。你可以使用适用于 Windows 和 Linux 平台的以下链接下载设置。

In this tutorial, we will aim to install the enterprise version. This version is available for a free evaluation for 60 days with all features enabled. You can download the setup using the below link which is available for both windows and Linux platforms.

Linux Version

Linux 版本是从上面给出的下载链接下载的。我们选择 .deb 软件包类型,因为安装将在 Ubuntu 平台中进行。

The Linux version is downloaded from the download link given above. We choose the .deb package type as the installation will be done in a Ubuntu platform.

我们将按照分步方法学习:

We shall learn this with a step by step approach −

Step 1

如下图所示,下载 .deb 软件包 −

Download the .deb package as shown in the screenshot below −

linux install 1

Step 2

访问下载目录,并使用上述已下载包安装 Splunk。

Go to the download directory and install Splunk using the above downloaded package.

linux install 2

Step 3

接下来,您可以使用带有接受许可证参数的以下命令启动 Splunk。它会要求提供管理员用户名和密码,您应该提供并记住这些信息。

Next you can start Splunk by using the following command with accept license argument. It will ask for administrator user name and password which you should provide and remember.

linux install 3

Step 4

Splunk 服务器会启动,并提及可以访问 Splunk 界面 的 URL。

The Splunk server starts and mentions the URL where the Splunk interface can be accessed.

linux install 4

Step 5

现在,您可以访问 Splunk URL,并输入在第 3 步中创建的管理员用户 ID 和密码。

Now, you can access the Splunk URL and enter the admin user ID and password created in step 3.

linux install 5

Windows Version

Windows 版本可以作为 msi 安装程序获得,如下所示:

The windows version is available as a msi installer as shown in the below image −

install 1

双击 msi 安装程序,按照直接向前的方式安装 Windows 版本。为了成功安装,我们必须在以下两个重要步骤中做出正确选择。

Double clicking on the msi installer installs the Windows version in a straight forward process. The two important steps where we must make the right choice for successful installation are as follows.

Step 1

由于我们是在本地系统上安装,因此选择本地系统选项,如下所示:

As we are installing it on a local system, choose the local system option as given below −

install2

Step 2

输入管理员的密码并记住,因为它将在将来的配置中使用。

Enter the password for the administrator and remember it, as it will be used in the future configurations.

install3

Step 3

在最后一步,我们看到 Splunk 已成功安装,并且可以从 Web 浏览器启动。

In the final step, we see that Splunk is successfully installed and it can be launched from the web browser.

install4

Step 4

接下来,打开浏览器并输入给定的 url, http://localhost:8000 ,并使用管理员用户 ID 和密码登录到 Splunk。

Next, open the browser and enter the given url, http://localhost:8000, and login to the Splunk using the admin user ID and password.

install5