1 00:00:00,090 --> 00:00:03,090 Let us do a lab exercise of renaming. 2 00:00:03,970 --> 00:00:09,580 The Hostname of Splunk from all these four locations. 3 00:00:15,360 --> 00:00:20,430 For example, year one the system local we will name. 4 00:00:23,290 --> 00:00:30,250 Or Splunk, ATC, the VA command or the VA. 5 00:00:30,280 --> 00:00:37,710 Ed I'll be using throughout this tutorial or following up tutorials for editing the configuration. 6 00:00:37,720 --> 00:00:46,510 If you're not familiar with VA, you can use any other editors like G edit, which has a graphical and 7 00:00:46,510 --> 00:00:49,240 also nano, which is similar to VA. 8 00:00:49,270 --> 00:00:56,890 And also you can use venous app or other FTP tools to download this configuration edit in your windows 9 00:00:56,890 --> 00:01:00,160 compatible environment, then upload it to server. 10 00:01:01,590 --> 00:01:05,670 So throughout this tutorial I'll be using via editor. 11 00:01:05,940 --> 00:01:13,650 Let me quickly get into system local directory, which is the highest priority. 12 00:01:14,100 --> 00:01:16,890 I'll be editing a configuration file called. 13 00:01:17,850 --> 00:01:18,830 Inputs. 14 00:01:18,840 --> 00:01:25,350 As you can see, this is the file I'll be editing under system local. 15 00:01:27,430 --> 00:01:34,570 I'll just rename the host so that we'll be able to see how the configuration works. 16 00:01:36,070 --> 00:01:40,810 I'll just give it a value host under system. 17 00:01:42,030 --> 00:01:48,840 Local so that when we see this entry in the Splunk logs will come to know it has picked up the logs 18 00:01:48,840 --> 00:01:50,460 from this location. 19 00:01:51,740 --> 00:01:53,570 That will be our system local. 20 00:01:58,380 --> 00:02:05,310 I learned the same information with different values in one of the apps. 21 00:02:05,310 --> 00:02:08,010 That is a search local. 22 00:02:10,160 --> 00:02:11,930 Input start conf. 23 00:02:12,020 --> 00:02:18,470 So this is the app's local directory which has the second highest priority. 24 00:02:27,350 --> 00:02:33,710 I'll copy the same content, I'll modify a little so that for our understanding, it will be better. 25 00:02:36,410 --> 00:02:39,350 So this is our app's local directory. 26 00:02:39,560 --> 00:02:46,100 I'm opening a PDF file and pasting the same contents, but I'll change this system to. 27 00:02:50,640 --> 00:02:58,200 App local so that we know if the this host value is picked up it means the configuration has been picked 28 00:02:58,200 --> 00:03:01,530 up by our second highest. 29 00:03:03,030 --> 00:03:03,900 Pretty. 30 00:03:04,640 --> 00:03:07,570 Let me go to apps. 31 00:03:07,580 --> 00:03:08,330 Default. 32 00:03:08,420 --> 00:03:09,400 Same app. 33 00:03:09,410 --> 00:03:12,680 It will be search default. 34 00:03:15,980 --> 00:03:17,450 Input taken. 35 00:03:24,350 --> 00:03:25,460 I'll change here. 36 00:03:25,770 --> 00:03:27,410 App default. 37 00:03:36,980 --> 00:03:39,150 I'll save and close this file now. 38 00:03:39,860 --> 00:03:47,690 Ready ed system local the hostname configuration app local hostname configuration and. 39 00:03:48,450 --> 00:03:50,880 App default hostname configuration. 40 00:03:54,590 --> 00:03:57,770 Let us restart our Splunk instant 41 00:04:01,190 --> 00:04:06,260 Splunk bin, the Splunk utility and hit restart. 42 00:04:25,520 --> 00:04:28,130 Let us try to log into our Splunk. 43 00:04:29,160 --> 00:04:31,230 By the time it restarts. 44 00:04:32,160 --> 00:04:32,880 Let us see. 45 00:04:32,880 --> 00:04:33,720 Is it done? 46 00:04:33,750 --> 00:04:35,340 Yes, it is done. 47 00:04:35,370 --> 00:04:36,150 Let us. 48 00:04:53,010 --> 00:04:55,230 So it has successfully restarted. 49 00:04:55,680 --> 00:04:57,000 Let me log in.