官术网_书友最值得收藏!

Creating a Splunk app

It is good practice to create a custom Splunk app to isolate the configurations you add to Splunk. You may never have created an app before, but you will quickly see it is not very difficult. Here, we will create a basic app called Destinations that we will use throughout this book:

  1. Let's access the Manage Apps page. There are two ways to do this; you can either click on the Apps icon at the home page as shown in the following screenshot:
  1. Or, select Manage Apps from the app dropdown in the top navigation bar of the Search & Reporting app:
  1. At the Manage Apps page, click on the Create app icon shown in the following screenshot:
  1. Finally, populate the forms with the following information to complete app creation. When you are done, click on the Save button to create your first Splunk app:
  1. You have just created your very first Splunk app. Notice that it now appears in the list of apps and it has a status of Enabled, meaning it is ready to be used:

We will use this app to complete the exercises in this book, but first we need to make a few important changes:

  1. Click on the Permissions link shown in the preceding screenshot
  2. In the next window, under the Sharing for config file-only objects section, select All apps

These steps will ensure that the application will be accessible to the Eventgen add-on, which will be installed later in the chapter. Use the following screenshot as a guide:

Splunk permissions are always composed of three columns: Roles, Read, and Write. A role refers to certain authorizations or permissions that can be taken on by a user. Selecting Read for a particular role grants the set of users in the role permission to view the object. Selecting Write will allow the set of users to modify the object. In the preceding screenshot, everyone (all users) will have access to view the Destinations app, but only the admin (you) and a power user can modify it.

主站蜘蛛池模板: 郑州市| 台北县| 明光市| 绍兴市| 都江堰市| 江山市| 涪陵区| 梁平县| 棋牌| 宁化县| 枝江市| 弥勒县| 伊宁县| 卓尼县| 蓝田县| 邢台县| 平陆县| 正镶白旗| 济阳县| 武汉市| 贺州市| 元阳县| 合江县| 潼南县| 吉安市| 巨野县| 哈尔滨市| 舞阳县| 贵溪市| 长垣县| 西平县| 罗城| 改则县| 鲁山县| 伊吾县| 黄浦区| 佛山市| 左权县| 三穗县| 吉安县| 祁连县|