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

Creating a Splunk app

It is good practice to create a custom Splunk app to isolate all the changes you make in 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 may either click on the Apps icon at the home page as shown in the following screenshot:
  2. Or select Manage Apps from the app dropdown in the top navigation bar of the Search & Reporting app:
  3. At the Manage Apps page, click on the Create app icon as shown in the following screenshot:
  4. Finally, populate the forms with the following information to complete the app creation. When you are done, click on the Save button to create your first Splunk app:
  5. 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 bare bones app to complete the exercises in this book, but first we need to make a few important changes:

  1. Click the Permissions link as show 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 that 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.

主站蜘蛛池模板: 台湾省| 西吉县| 梁平县| 乌拉特前旗| 宁陵县| 西宁市| 兴国县| 道孚县| 巧家县| 依安县| 德化县| 青州市| 津市市| 中卫市| 红桥区| 巴马| 澳门| 香港| 黑水县| 海宁市| 治县。| 南昌县| 梧州市| 淮北市| 南和县| 雷波县| 凤台县| 大方县| 溧水县| 乐至县| 五大连池市| 尚义县| 昆明市| 栾川县| 鄂托克前旗| 静乐县| 安国市| 鲁山县| 甘洛县| 灵寿县| 泰州市|