# Splunk Practical Master Class 1

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 5 Feb 2026, 51 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/115053066/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-1-5%2Ff7f8f1d3-0d61-d464-11cb-ee3838ed8ccc.mp3

In this in-depth podcast, join Prabh and Faisal as they dive into the world of Splunk, exploring everything from initial setup and integration to advanced data processing capabilities. With Faisal's extensive 15-year experience in network and security, you’ll gain valuable insights into Splunk’s powerful features for managing petabytes of data, setting it apart as one of the top choices for SIEM solutions. Unlike traditional security tools, Splunk is versatile, extending to applications like performance monitoring in various industries, including electric vehicles.Key topics discussed include Splunk’s data processing stages, the role of Universal and Heavy Forwarders, log collection from Active Directory, and essential components like parsing and indexing pipelines. Faisal also shares his expert advice on setting up Splunk architecture, port configuration, and indexer replication—vital for any Splunk admin. You’ll also learn about his lab setup, which includes Windows and Linux log source integration with separate indexes and retention policies for efficient searching.Beyond architecture, Faisal explains the Splunk search bar and time picker modes, regex use for IP address matching, and field extraction during indexing and search. By the end, you’ll have a complete understanding of Splunk’s practical uses, powerful capabilities, and tips for effective setup and integration. Tune in and elevate your Splunk knowledge with real-world examples and expert insights!Faisalhttps://www.linkedin.com/in/faisal-odakkal-a2948a75/?originalSubdomain=saIf you want to learn what is siem https://www.youtube.com/watch?v=kllStyjewkw&t=64s&pp=ygUKc2llbSBwcmFiaA%3D%3Dhttps://www.youtube.com/watch?v=Esvve_BWmBw&pp=ygUKc2llbSBwcmFiaA%3D%3DSOC Inteviewhttps://www.youtube.com/watch?v=UF_oLGoRL_c&list=PL0hT6hgexlYxd24Jb8OE7vZoas-iTcHAc&pp=gAQB#SplunkSetup #SplunkIntegration #DataProcessing #SIEM #Cybersecurity #SplunkTutorial #NetworkSecurity #SplunkAdmins #LogIntegration #RegexInSplunk #ITInfrastructure #splunk

## Transcript

[0:15] Hey guys, welcome to the session on Coffee with Prep.
[0:18] And today we have a special guest, Mr. Fazal.
[0:22] Fazal basically have a 15 years of experience in the network and
[0:25] network security and his experience speak lot.
[0:28] And today we're going to use his experience to learn about how to
[0:32] use Splunk, how to configure Splunk in daily life over to use
[0:37] Faizal. And thanks for taking this
[0:39] opportunity and it is a great honor for us to have you in this
[0:42] particular platform. And I'm sure we will try to use
[0:46] this opportunity as much as maximum.
[0:49] And through this podcast, we can able to create a value for the
[0:53] for the students. First of all, prep.
[0:57] Thank you so much for giving me this opportunity.
[1:02] I feel really honoured and let me introduce myself to the
[1:06] audience. My name is Faisal.
[1:07] I'm working in a Splunk distributor company.
[1:12] I do have around 15 years of experience in virtualization,
[1:17] networking, network security, cybersecurity.
[1:21] All together I have 15 years of experience.
[1:24] So our today agenda we've Splunk enterprise instance walk through
[1:33] and we will do some. We are mainly focusing practical
[1:37] side today. OK, we're going to integrate few
[1:42] log sources like Windows servers, basically the Active
[1:45] Directory and the Linux server and Fortigate file.
[1:49] That's, that's great. Yeah.
[1:52] So we are very excited for this particular, you know, session
[1:56] and we will basically check, you know, how can we use this
[1:59] opportunity and we'll try to be a more like a student and we'll
[2:03] try to extract more content from you.
[2:06] Definitely. OK.
[2:08] So what is special today? Fazal with Splunk.
[2:12] Yes. Today we are going to discuss
[2:15] the basic introduction part of Splunk.
[2:18] What is Splunk and what is the components data processing?
[2:23] We have two type of components components in Splunk, data
[2:26] processing components and management components.
[2:28] So today I'm going to explain what is data processing
[2:30] components and different pipelines in Splunk.
[2:35] OK. So there will be some audience
[2:37] who basically doesn't know about even what is Splunk.
[2:40] So is it possible, can we just give them a visibility to what
[2:43] is Splunk, what is the true component you're talking about
[2:46] and what is this pipeline because I don't want that to be
[2:48] have a blank idea. All right, so let me start with
[2:52] the basic definition. Splunk is a software platform
[2:55] where you can search, analyse and visualise machine generated
[2:59] data. So imagine you are collecting
[3:02] data from your Windows Server or Linux server or application or
[3:08] the security devices, network devices.
[3:10] You can monitor all type of data with the help of Splunk.
[3:16] OK, but it is also done by log management also.
[3:19] Yeah, exactly. So see when you talk about
[3:22] Splunk, you can integrate any type of data irrespective of its
[3:27] format or when I'm explaining to my customer, I'm always make it
[3:33] very simple with the help of three VS that will clear your
[3:38] doubts, velocity, volume and variety.
[3:43] So you can integrate any type of data to Splunk, OK.
[3:47] And you can integrate petabyte and TB of data to Splunk.
[3:51] Splunk can handle in fraction of seconds.
[3:55] OK. Yeah, that is one of the major
[3:59] advantage when you're comparing others S i.e.
[4:01] M tool with Sprunk. So it can, you can integrate
[4:05] petabyte and TB of data. So Splunk is effectively and
[4:09] efficiently managing it with the without any slowness.
[4:13] OK. So when you're comparing other S
[4:15] i.e. M tool.
[4:16] So basically for example you are integrating 200 gigabytes or 300
[4:21] gigabytes of data. The customers are complaining
[4:24] like they are not able to search the data with the help of other
[4:27] Sid tool. But with Splunk you can
[4:29] integrate petabyte of data. Splunk can process in process in
[4:33] fraction of seconds. OK.
[4:36] So the challenge with the log management is that we have
[4:38] volume of data but we unable to manage Splunk user log
[4:41] management plus data analytics which help you to correlate and
[4:44] provide one unified information in a more less cost effective
[4:48] manner, less time. Can we say like that?
[4:51] Exactly. True.
[4:52] OK. Yep.
[4:54] Also, you can, it is not only a SIIM tool, basically you can
[4:58] integrate any type of data with Splunk.
[5:01] It's not only used for security. OK, security, you see security
[5:05] is a one of the feature in Splunk.
[5:07] You can say that. Can you just share your other
[5:09] viewpoint like you know apart from it is using security for
[5:11] correlating event where we we can use apart from that?
[5:16] Yeah. Apart from that, for example, if
[5:18] you have any electrical car, OK or electrical bike, you want to
[5:23] see the performance, you want to check some, some, some logs, so
[5:28] you can integrate basically your any type of data with sprung and
[5:32] you can start analysing it. OK, that's great.
[5:35] I was not aware about the. Thank you.
[5:38] So it is used for data analytics also.
[5:39] Apart from that we can use data from incidence perspective.
[5:42] We can use this for the data analytics also.
[5:45] Exactly. Other things, great.
[5:46] Yeah, Yeah. So let me jump to the another
[5:51] slide. Yeah.
[5:54] So if you check here, these are the well known sorry.
[5:59] Yeah. So this is very important to
[6:02] understand different data pipeline stages.
[6:06] So mainly we have three different stages in span.
[6:09] OK, so data input stage, data storing stage and a data
[6:14] searching stage. So in the input stage, basically
[6:18] you are collecting the data from the log source.
[6:20] OK, once you collect the data, it will forward to the parsing
[6:25] queue or you can say parsing stage or parsing pipeline where
[6:29] your field extraction, parsing, you know masking some sensitive
[6:34] data, time stamp extraction, these activities are happening
[6:38] in this particular pipeline passing pipeline.
[6:42] So in the passing pipeline unstructured data will be
[6:47] converted to the structured data.
[6:48] You can say like that. OK.
[6:50] So once passing pipeline complete it will move to the
[6:54] indexing pipeline. OK so in the indexing pipeline
[6:58] it will store inside your storage OK and once this logs or
[7:06] data stored inside your indexer you can searching for the data
[7:11] with the help of SPL queries or you can say search processing
[7:15] language or Splunk processing language.
[7:17] OK, so it is there. It is in text to search the
[7:20] files in the logs. In the Splunk, exactly see,
[7:24] Yeah, see in the Splunk we have a component called indexer where
[7:28] our data getting stored. OK, to search the data which are
[7:32] stored inside your indexer, you can use the SPL queries or
[7:37] search processing language to search for your data for
[7:41] analysis purpose, to create some dashboard etcetera.
[7:48] Clear this pipeline or you want me to explain a bit?
[7:52] More. No, that's clear.
[7:53] Yeah, yeah. OK.
[7:57] And in this day you see we have two type of components, data
[8:02] processing components and management components.
[8:05] In today's session I'm going to explain data processing
[8:09] components because management components are little bit
[8:12] advanced so you need to have some admin architect level
[8:18] knowledge. So let me explain the data
[8:20] processing components. As the name suggests, these
[8:23] components are mainly engaged in data.
[8:27] Take your forwarders indexes and search it.
[8:30] So when when we talk about forwarders, we have two type of
[8:33] forwarders universal forwarder and heavy forward.
[8:37] So let me explain what is universal forwarder?
[8:39] Universal forwarder Did you say lightweight agent in Splunk,
[8:45] Slightweight agent in Splunk? If you take an example, if you
[8:48] want to integrate some workstations or Windows Server
[8:53] or Linux server. So what you need to do is you
[8:57] need to install this lightweight agent in your workstation.
[9:01] This agent will collect the data and forward to the Splunk server
[9:06] or Splunk index it. All right, OK, so inside this
[9:11] universal forwarder we are configuring some configuration
[9:15] files like inputs dot configuration outputs or outputs
[9:19] dot configuration where we will define which log I need to
[9:23] collect which log I need to monitor that you are going to
[9:26] define inside your universal forwarder configuration.
[9:30] OK. OK, once you collect the log,
[9:34] the universal for example, I am collecting logs from the Active
[9:36] Directory. I'm collecting the logs and I'm
[9:39] forwarding to the indexer component.
[9:42] This is my indexer component. In indexer component I'm storing
[9:46] the data. This is basically you can say
[9:48] the storage. I'm storing the data inside my
[9:52] indexer using the searcher. My soft team, my service
[9:56] security team, auditing team, they are searching the data
[10:00] using searcher component. So basically the soft team they
[10:05] don't have directly direct access to the indexer, they they
[10:11] have access only to the searcher.
[10:13] They will log into this component and they will start
[10:15] searching the data using the SPL command.
[10:19] OK. Yeah.
[10:21] So if you can explain with this diagram like we have a data
[10:24] inputs, right? So the data comes forwarded is
[10:28] like just like your devices, right?
[10:31] Yes, forward of this lightweight agent, you are going to install
[10:34] it in your servers or your great station.
[10:37] Great. Yeah, yeah.
[10:38] And then from there it will go to the indexers.
[10:42] Yes. And then from indexer go to
[10:44] certain. Sorry for interrupting prep.
[10:46] I want to introduce this comment as well.
[10:49] Heavy fork. So have you forwarded this a
[10:51] full Splunk Enterprise instant? It is not a agent, OK?
[10:55] It is same like your indexer, same like your searcher, OK.
[10:59] But what have you forwarder will do?
[11:01] It will do the filtration filtering the garbage data which
[11:06] you which you don't want to monitor.
[11:08] OK. And it will do the mask if you
[11:12] want to mask some sensitive data like if you have in your log, if
[11:16] you have some credit card information and you want to mask
[11:19] it so that activity can be done by the heavy forwarder.
[11:23] Heavy forwarder will be placed in between your universal
[11:27] forwarder and indexer. So you can say it will come in
[11:30] between your forwarder and indexer because every forwarder
[11:35] will reduce the log of your reduce the load of your indexer.
[11:39] Imagine you don't have this component, heavy forwarder
[11:42] component. So all the filtration, masking,
[11:46] passing activity should be done by the index of component.
[11:49] OK. To reduce that you are
[11:52] introducing the heavy forwarded component.
[11:54] OK, makes sense. All right.
[11:57] Yeah. So any other question prep?
[11:59] No, no, no, thank you. OK.
[12:01] All. Right and.
[12:05] When the any candidate go for the interviews and all that, do
[12:08] they ask the question around this areas like you know what is
[12:10] heavy forward? Yes.
[12:12] I have faced the same question from multiple companies.
[12:16] They will ask the architecture, Splunk data processing
[12:20] components and management components.
[12:23] Fine. Yeah.
[12:24] And also I phase this question what is the difference between
[12:28] universal forward and heavy forward?
[12:30] OK, so those are watching this podcast, they must be aware
[12:33] about like you know, this is a very important if you I think
[12:36] this can be asked on. So in the SOG jobs like like
[12:38] L1L2 they will they ask this on the L1L2 or will they they
[12:42] mostly asking the SOG architect side?
[12:45] Exactly. No, no, no.
[12:47] They ask these questions on the L1L2.
[12:49] Profiles or L1L2 plus like Splunk administration.
[12:55] OK. Yeah.
[12:57] If you're applying for a Splunk admin job, you can expect this
[13:00] type of questions. OK.
[13:02] Thank you. Yeah.
[13:04] OK, and one more point I want to add here.
[13:07] Imagine you are planning to integrate your database.
[13:11] So database you can integrate with the help of DB connect app.
[13:15] OK so DB connect app basically if you have such type of log
[13:20] sources that particular app we gonna install it in heavy
[13:24] forwarder and we will integrate it.
[13:27] So we will not install any. You know like directly integrate
[13:31] with indexer to reduce the load of the indexer.
[13:34] Component OK, makes sense. OK.
[13:40] So we can go for start performing the lab or?
[13:45] Yeah, I can, yes. It's up to you like you know, if
[13:48] it's if it's for the practical, this is the theory is enough so.
[13:52] That's fine. Yeah, this, this, Yeah.
[13:54] Let me introduce some point here.
[13:57] Yeah, which is related to some. Yeah.
[14:02] So the port requirement for splint enterprise, OK, these are
[14:07] the main components. So it's your indexer,
[14:10] deployment, server, cluster master forwarded.
[14:12] So for the searcher to access the searcher component over web
[14:18] interface or web UI, Splunk users default port #8000.
[14:25] OK. OK to communicate your searcher
[14:28] component with the indexer. What is happening when you are
[14:31] applying someone, you are executing some commands in
[14:34] searcher. The request will go to the
[14:36] indexer. Basically, indexer is running
[14:39] the query and you're getting the result here in the searcher.
[14:43] So the indexer and searcher should communicate.
[14:46] So they're communicating our port number 8089.
[14:50] OK. OK for the so you need to enable
[14:53] these two ports for the searcher 8000 and 8081.
[14:59] There are other ports as well like 8191 for the KV store.
[15:03] Still, it is some advanced level concept, so we will discuss in
[15:09] our next session. OK.
[15:12] And the indexer we need to enable 808999979997.
[15:19] Basically to receive the data you have to enable this port
[15:22] 9997 for data forwarding. For data receiving Splunk use
[15:28] this port number 9997 port number.
[15:31] OK. In production environment
[15:33] normally we disable the web UI on indexer.
[15:37] So the admin should manage this particular component via back
[15:41] end. So 8000 normally we disable for
[15:45] the indexer component. But still if you want to manage
[15:48] this particular component over web interface, you can enable
[15:52] 8000 port number. OK.
[15:55] Yeah. And for the forwarder, these are
[15:57] the 2 port number 9997 to forward the data 8089 for the
[16:03] internal Splunk communication. This forwarder should
[16:06] communicate with the heavy forwarder or this forwarder
[16:09] should communicate with the index.
[16:11] OK. So we have to enable 9997 and
[16:13] 8:08. That's great.
[16:15] And Faisal, this is this is also asking the jobs for like you
[16:19] know, on which particular port they have or if there's a port
[16:22] troubleshooting is there. Yes, I phase this question 8089
[16:27] the management port number. What is the management port
[16:29] number for the splint component which is 8089 and what is the
[16:33] default port number for the indexer replication in the
[16:37] production environment? We will have multiple indexes
[16:40] for that reply for high. Availability, definitely.
[16:43] Yeah. So the default port number is
[16:45] 808-8080 for the indexer replication, index replication
[16:51] OK, or you can say bucket replication.
[16:53] OK. My second question for you is
[16:55] basically, can we change this ports or it is like a predefined
[16:58] ports, Yeah. You can change this port.
[17:00] OK, fine. So let's go now.
[17:04] Let me yeah now let me explain about my lab.
[17:11] So this is my Splunk server. I have a standalone instance 1
[17:16] server for acting as an indexer. 1 server is acting as my search
[17:20] it as well. OK.
[17:22] And I have Linux machine where I'm going to integrate with
[17:26] Splunk and I have Windows Server my Active Directory.
[17:31] I'm going to integrate this Active Directory with my Splunk
[17:35] instance. And I have a simulator where I
[17:39] have my Forti gate firewall is running.
[17:41] So today I'm going to install 3 log sources, Windows Server,
[17:47] Linux server and Fortinet firewall.
[17:49] OK, that's great. OK, so let's start with the
[17:54] Linux. So let me before integrating let
[17:57] me log into my Splunk. Instance and Faisal just a favor
[18:02] if possible, can you open the Ms. paint in that?
[18:04] Can you draw the diagram so you know we can able to connect the
[18:08] dots. You know the way I used to drive
[18:10] that because you know, in 2024 the memory detention is so so
[18:15] less. That is difficult to correlate
[18:17] just a request. Thank you.
[18:19] All right, no. Issues and guys who watching
[18:21] this video who watching this podcast I have a complete right
[18:24] to ask anything from Faisal because I know him from last
[18:27] five years. So yeah, he never do freed
[18:31] broadcast. OK, remember for me he doing
[18:33] that. Because you're my guru Prep.
[18:37] No, no, no, no. No one is good.
[18:40] He's just kidding. He's just.
[18:41] He's just. He's just kidding, OK.
[18:43] He has this nature. Yeah.
[18:52] And while designing this drawing, this diagram and all
[18:54] that, I want to do this also Fezzle do also a lot of
[18:57] trainings. And when you say the difference
[19:00] in theory and practical, this guy's is, is actually working on
[19:05] the production side and implementing all the solutions.
[19:07] So I can assure you one thing, this is one of the best video
[19:11] what you've seen in Splunk that I'll assure you.
[19:20] And Faisal, can I can I share your LinkedIn profile in the
[19:22] YouTube description box so if someone has any query they can
[19:25] reach out to you? Yes, please, yes.
[19:31] Yes, these are the three log sources we are going to
[19:34] integrate today. Window, Unix and Fortigate.
[19:38] Fortigate file. So the first thing what I'm
[19:41] going to do in my Splunk in the enterprise, I'm going to create
[19:46] index for each log sources. Why I'm creating index for each
[19:50] log source for better searching or I can create separate
[19:56] retention policy for my data. OK, for example I have a
[20:01] requirement from my auditing or complaints department, Forti
[20:04] gate firewall logs should be retained for one year.
[20:09] So if I have different index for the Forti gate firewall, I can
[20:12] do separate retention policy for my Forti gate firewall logs?
[20:17] OK so I'm going to create 40 gate index in my Splunk and for
[20:23] my windows logs I'm creating windows index.
[20:27] For. Storing the Linux logs, I'm
[20:30] creating a separate index and to receive the data to my Splunk
[20:35] Enterprise instance I have to enable port number 9997.
[20:41] To receive the data I have to enable port number 9997.
[20:45] So receiving you can say receiving port number triple
[20:48] answer. OK, so before jumping to this
[20:52] lab, let me do a back through in this plunk enterprise.
[20:58] Yeah. Let me log into my lab.
[21:01] So probably. Do you have any question
[21:03] related? No, no, no so far.
[21:04] Question clear. OK.
[21:11] All right. This is my Splunk instance.
[21:16] It's a free instance we can download from the website.
[21:18] Yeah, it is a free instance you can download from Splunk website
[21:22] and the the trial period is 60 days.
[21:26] And you can see, let me explain one more thing here, the Splunk
[21:30] license, license based on how much data you are onboarding per
[21:36] day. Per day.
[21:39] Yeah, per day. I heard about something about it
[21:41] come with a free memory for 500 something, right?
[21:43] No, yeah. Now I'm gonna explain that as
[21:46] well story and in style version you have 500 MB, you can store
[21:55] 500 MB. OK. 500 MB you can store in your
[22:03] trial license. Yeah.
[22:05] So when we're talking about the 500 MB logs, do you, do you, do
[22:09] you, Do you have any websites from where we can download some
[22:12] sample logs for a Splunk that can be used for the practice and
[22:16] all that if someone want to practice malware investigations
[22:19] or someone want to practice network analysis?
[22:21] Yeah, on network 4:00 and 6:00 and all that.
[22:23] Do you have any recommendation for that?
[22:25] Do we have any such kind of a sample logs available which can
[22:27] be we pull in the Splunk and we can use that?
[22:30] So my question is Faizal, do you have any websites?
[22:32] Basically download this tutorial data.
[22:35] OK. Yes there is a tutorial data
[22:39] providing by Splunk. You can download this.
[22:41] This is basically web server logs.
[22:46] OK web server logs I can end. You can add downloading this.
[22:52] OK. So let me show you website where
[22:57] you can download. No, that's fine.
[22:58] That's fine. I was just asking about, you
[23:00] know, reference perspective. Thank you.
[23:05] Yes, there is a tutorial data you can download.
[23:08] OK, so this is called a Splunk interface.
[23:12] Yeah. OK.
[23:14] Can you just walk through me? Can you just walk through me the
[23:17] process of this interface if possible?
[23:19] What is search? What is analytics?
[23:21] What is data sets? Yeah, sure, sure.
[23:22] Definitely. Yeah, yeah, yeah.
[23:26] This is my search bar, OK, where you will execute your search,
[23:30] for example, index SQL to and your index name.
[23:33] OK for example I have a default index here under score internal.
[23:37] This is the default index where all the Splunk internal logs are
[23:41] getting stored here. OK.
[23:43] OK, this is my search bar. You can search your logs.
[23:46] So you can analyze your logs using the search bar.
[23:49] OK. And this is my time picker.
[23:52] Here you can pick the time if you want to analyze for the last
[23:56] 60 minutes. Yeah, this is the time picker.
[24:00] This is the search bar. And I have different modes here
[24:04] search modes, You have fast mode, you have smart mode and
[24:08] you have verbose mode. OK.
[24:10] These these modes we will choose based on our requirement.
[24:14] For example, if you are searching the data for the last
[24:19] six months. So if you select verbose or
[24:22] smart mode, you will get the data really slow.
[24:25] I mean we'll take some time to complete them.
[24:28] See when we are using this fast mode, when you have any IU CS
[24:31] from your yeah. So if you want to analyse if
[24:38] there is any match in your with your logs, with your data, you
[24:42] can use basically the fast mode. Once you find any match, you can
[24:46] start, you know, using the verbose mode and smart mode.
[24:51] This will give you complete details, all events and all
[24:54] fields. See when I'm selecting here fast
[24:57] mode, I have very limited information here selected field
[25:02] and interesting field. But when you are clicking on the
[25:04] verbose mode, you have the fields and values.
[25:09] Let me let me tell you these are these are my field common in
[25:13] this my field name. Inside the field I have
[25:17] different values my trees. Yeah.
[25:21] So those are those are basically new to this people like you know
[25:24] when we say verbose mode what do you mean by the term called
[25:27] verbose mode? Like I know from the verbose
[25:29] mode we can able to see all event and data.
[25:32] So in which condition we use verbose mode and how it can be
[25:35] used? See verbose mode if you want to
[25:38] like, if you want to bring all your data OK, and you want to do
[25:44] the further analysis, like for example, if I'm going for the
[25:47] fast mode, if you're checking some IOC, some public IP and you
[25:51] are selecting fast mode, the public IP field information will
[25:55] not be there if you're searching.
[25:58] So if you want to see what is a public IP to communicate which
[26:01] port number, what is the destination IP, If you want to
[26:06] investigate all those fields, you have to choose either smart
[26:11] mode or web post. Understood.
[26:14] Yeah, fine. So.
[26:17] Smart mode actually the default mode.
[26:19] So whenever you are logging in, smart mode is the default mode.
[26:25] So it can act as a you can say hybrid mode.
[26:29] OK for example we have some different type of commands or
[26:32] queries in Splunk. We are using some transforming
[26:35] commands like table stats and all smart mode is will act as a
[26:42] fast mode. OK.
[26:44] You are using some transforming commands like table statistical
[26:48] command. Smart mode will act as a fast
[26:51] mode when you are using some non transforming command.
[26:54] Smart mode will act as a verbose mode.
[26:56] So you can say smart mode is a hybrid mode.
[26:58] It will change based on the query you are applying.
[27:02] OK, that's good. Yeah.
[27:04] This is the time picker. This is the time stamp.
[27:07] OK, the time stamp of your you know the query and these are the
[27:13] fields. So here you can see selected
[27:16] fields and investing field. So let me explain that.
[27:21] So this is one of the interview question.
[27:24] What are the defaults field in Splunk?
[27:27] Or you can say, yeah, so let me explain that Source source type,
[27:34] host index, under score type. So these are the fields
[27:40] automatically creating when you are integrating any type of log.
[27:45] Any type of log if you're integrating these fields will be
[27:47] created automatically. Source source type, host index
[27:52] under score type. So source means from which
[27:56] source you're basically you can say your log source if you're
[28:01] monitoring for example var log and audit dot log.
[28:06] If you're I mean integrating this particular log in under the
[28:12] source, you can see this information var log audit dot
[28:16] log in the source type, what type of data it is the format of
[28:22] your data which is very important to ascend proper
[28:25] source type. So based on the source type,
[28:28] Splunk will understand what type of data it is.
[28:31] So based on the Splunk itself extracting the fields by itself
[28:37] like this OK, see bytes component group index all this
[28:43] information and you have host information.
[28:46] I mean this is your source IP of your log source.
[28:50] OK. Yeah, and index, it is stored
[28:53] inside which index? For example, I'm integrating my
[28:57] Palo Alto firewall and the IP address of my Palo Alto is 192
[29:01] one 6810.10 OK. And it is stored inside my Palo
[29:08] Alto index and the timestamp. Yeah.
[29:13] These are the default fields in Splunk.
[29:16] If you're integrating any file, Excel file or notepad, any file
[29:20] you are monitoring this field automatically create.
[29:24] Understood. Yeah.
[29:26] And you have some interesting field, this interesting field
[29:29] creating during search time, field extraction.
[29:32] So there are two type of field extraction, indexing time and
[29:37] search time. So search time means when you're
[29:40] searching for the logs, these fields are getting created.
[29:44] OK, OK. And these fields are created
[29:49] during the indexing time, the default fields, OK.
[29:54] And still one more thing I need to add here.
[29:56] This is your row log. OK, row log one or you can say
[30:00] row event two, row event three. Imagine you have some more
[30:05] information here in the raw data or event log raw event and you
[30:11] don't have that fields information here.
[30:13] In that case, you need to manually create the field using
[30:17] rejects. Manually using rejects.
[30:21] Rejects exactly what is that rejects for example, let me OK.
[30:27] Let. Me take this as an example.
[30:40] This is my raw event OK, but in my interesting field I don't
[30:43] have any information about the IP address.
[30:45] But in my raw data I have my raw event.
[30:48] I have this information. OK, so I need to create this
[30:52] field. So let me let me create this
[30:55] field for example, say rejects. I don't want to go in very deep,
[31:02] but if you want to match any digits you have to use back
[31:07] slash DI mean. I'm talking about the rejects
[31:10] here I have 3 digits 192. So let me match with rejects
[31:17] back slash D plus. But see I have wherever I have
[31:22] the digits, it is all matching here.
[31:24] See the match information. Match 1192 match to 168.
[31:30] OK, let me add this special character after 192 I have dot.
[31:35] So I have to add the special character back slash and the
[31:39] special character see now it is 192 dot it is matched 168 dot it
[31:45] is matched. I have many matches here but I
[31:48] want to match only my IP address.
[31:50] OK so let me add the 2nd octet 168 back slash dot back slash
[31:59] sorry back slash D plus back slash dot then back slash D
[32:04] plus. Now if you check I have two
[32:07] matches one is some Chrome forward slash 129.0 dot 0.0 and
[32:12] I my IP address also. But I don't want to match this
[32:16] one. See for this if you have some
[32:20] special cases like these you have to consider your host
[32:24] pattern as host pattern is whatever you have it after the
[32:28] your IP address I have some space space here so to denote
[32:34] your space S plus still I have matching the 129th.
[32:40] Then after that I have a special character.
[32:43] See now it this one only match my IP address.
[32:47] So how I'm converting this value as my field?
[32:52] I mean how I'm creating a field out of this value?
[32:58] Let me this is a little bit advanced but I want to you know
[33:03] to convey this message. So let me I'm adding SRCIP as my
[33:10] field name. See if you check here.
[33:22] I have created this as a Group 1 here see group SRC under score
[33:27] IP1921681 dot 6. So how I can check this using
[33:33] some Rex command? Rex is to create the to extract
[33:39] some field information from your raw data.
[33:42] Rex command Rex field equal to under score row. under score row
[33:48] means you are extracting the information from your raw event.
[33:53] OK Rex field you get under score row then the regex so.
[33:57] This much amount of pointers we have to remember or do we have?
[34:04] Actually see there is an option, you can do it from the graphical
[34:09] interface as well, extract new fields.
[34:12] But I don't recommend this option because you will not get
[34:14] 100% success with this. OK.
[34:17] I'm always using Rex Rex and rejects.
[34:21] OK. Yeah.
[34:24] So if I add this command check you have any source IP field
[34:33] here SRC see I have source IP field see I have two source IP1
[34:43] is my loop back one is 1.6 it was not there before but I have
[34:49] created using the regex which is very important when you are
[34:55] checking your see this is the daily task of your the
[34:57] administrator There is sokti will come approach this Splunk
[35:01] admin brother we don't have source IP field or we don't have
[35:05] destination IP field but we have all the information in your raw
[35:09] event. Can you create this field?
[35:14] So you need to know the rejects really well.
[35:17] And yeah, this is basically search time field extraction.
[35:21] If I remove the Rex command, the source IP field will be
[35:28] vanished. I mean you can you will not be
[35:30] see this source IP field if I remove this command.
[35:34] Understood. Yeah.
[35:41] OK, so let me, yeah, let me check what are the so these are
[35:51] the app application app, you can say app panel here.
[35:56] I have installed some app related to the log sources.
[35:59] One is Forti Gate 1 is Linux add on and I'm going to install
[36:06] Windows add on as well. So what is the use of add on?
[36:10] See add on. Basically including the
[36:13] configuration for your field extraction parsing.
[36:17] All the configuration will be there inside the add on OK, you
[36:21] don't have to manually create it.
[36:23] OK. So based on the log sources you
[36:26] need to install the add on so your higher forti gate firewall
[36:30] and Linux. I'm going to install for the
[36:33] Windows add on as well. OK.
[36:36] Let me and it is free. For that, yeah, it is free.
[36:39] OK, so you have to visit this website, particular websites
[36:43] plumbase where you can download all the app and add on.
[36:52] For example, if I want to integrate my Palo Alto, so the
[37:00] Palo Alto add on for the DLP. See Palo Alto Network add on for
[37:13] Splunk. This add on including all the
[37:16] field extraction, the regex, Plex, everything will be there
[37:20] inside the add on. You don't have to manually
[37:24] create it. OK.
[37:26] But still if there is any field missing in your data so you have
[37:31] to create it manually. Yeah.
[37:36] OK, so let me start with integrating the Linux server.
[37:41] The first step I need to do is to check the receiving port is
[37:47] enabled or not. To receive the data from any
[37:51] lock source, check the receiving port, click on settings
[37:57] forwarding and receiving, Configure receiving.
[38:04] Yeah, 9997 is already configured, I mean enabled.
[38:08] So defaulted is always enabled or we have to manually do that?
[38:11] Yeah, we have. We have to enable it because I
[38:14] enabled it. So let me delete.
[38:16] And enable it again add. New triple answer.
[38:32] So this instance is ready to receive the data and I need to
[38:35] create the indexes. OK, I'm going to create index
[38:39] for my Linux log, so settings under data indexes.
[38:46] OK. Yeah.
[38:51] Click on new index. Here you have to specify the
[38:57] index name. Yeah, Linux.
[39:00] So you, you can see there are many options here.
[39:03] See inside the indexes we we have different type of buckets,
[39:08] hot bucket, warm bucket, cold bucket, towed bucket.
[39:12] This is, you know, like a little bit advanced concern or we will
[39:18] discuss all these in our upcoming Splunk session, Home
[39:22] Park, old path and top. So let me click on save.
[39:27] So the Linux index has been created by default the the
[39:33] storage storage for the Linux is 500GB.
[39:37] OK. By default, but you can change
[39:40] it. You can change it from here.
[39:45] OK, so the fastest step to integrate my Linux server, the
[39:49] fastest step is I need to install universal forwarder
[39:54] agent. So you you can do it in
[39:58] different way. One one way is you can log into
[40:02] your Splunk website, log in with your credential and you can
[40:06] download the universal forwarder agent to your machine OK your
[40:11] local computer and you can transfer via Windows CPP.
[40:16] OK. Or you can download if your
[40:19] instance or your server having access to the Internet, you can
[40:23] basically be run some command that will download to your local
[40:29] machine, I mean to your universal forward agent.
[40:32] OK. OK, so let me log into the
[40:35] Splunk website under Products, Free Trials and Downloads.
[40:49] See Universal Forward. We want to download.
[40:52] Everything, everything. So everything we have to
[40:53] configure. It's not something OK default
[40:56] there. We have to configure everything.
[40:58] Exactly. All right, So Splunk Enterprise
[41:02] is there where you want. If you want to install any
[41:04] Splunk Enterprise instance, you have to download this see here.
[41:08] 500 MB day day per day for 60 days.
[41:11] OK. Yeah.
[41:14] For universal forwarder you don't need any license.
[41:19] Get my free download. So you are operating the log
[41:23] source is Linux. Click on Linux and my log source
[41:26] is running on Ubuntu, so I'm going to download DBN package 64
[41:33] bit. Basically you can download the
[41:35] file to your local computer or you can copy this command W get
[41:38] command. OK.
[41:40] Let me copy this and I have already accessed my back end so
[41:48] I'm downloading to opt folder. OK, OK.
[42:05] The file has the file has been downloaded splung forwarder 9.3
[42:13] point one. This is the file let me execute
[42:15] DP, DP, KG minus. I Yeah.
[42:36] OK. Yeah.
[42:40] What is it? Is there any?
[42:42] Yeah, I'm actually, I'm executing the file.
[42:44] I'm installing the universal forwarder agent.
[42:48] Yeah, it's completed. Let me do.
[42:54] You want me to stop the recording so it take time or no?
[42:57] No, no, no, it will not take. OK, so you don't want me to to
[43:02] show these steps how to install? It's OK because I thought if the
[43:05] eight steps this process take time, no.
[43:09] No, no it will not. OK, OK so let me accept Splunk
[43:14] license agreement. So I have to come to this part
[43:19] or PT Splunk forwarder bin directory dot slash Splunk start
[43:27] accept license. So let me add the administrator
[43:36] password for my Splunk universal forwarder.
[43:46] Yeah, that's all the installation has been completed.
[43:50] Now let me restart my Splunk agent Splunk forwarder agent dot
[43:56] slash Splunk restart under bin direct.
[44:05] So I'm going to integrate this directory CD var log.
[44:14] Well they have all the audit logs, kernel logs, all the logs
[44:22] related to my DC authentication dot log.
[44:25] So I'm going to integrate this path war log, OK?
[44:30] OK. Yeah, just a. 2nd so here I have
[44:40] to create 2 configuration file for the integration.
[44:45] The first configuration file is inputs dot conf in inputs dot
[44:50] conf inputs dot conf where I will
[45:03] specify my log sources like from which path I need to which files
[45:10] I need to monitor which which log I want to monitor,
[45:14] everything I will define it in inputs dot configuration.
[45:17] OK. And outputs dot configuration.
[45:22] I'm going to specify it should send it to which server.
[45:27] Basically you will mention your or you will specify your indexer
[45:30] IP or your forwarder IP If you have AV forward.
[45:34] This will forward it to the heavy forwarder OK for example.
[45:44] This is my log source and I have HF here, I have indexer here, I
[45:50] have surgery and this is my use. Sorry, Linux heavy forwarder.
[46:24] Indexer and. Search it, sorry, OK.
[46:35] In short, I'm adding SH that mean my searcher indexer.
[46:40] HF means heavy forward. So after installing universal
[46:44] forward agent in my Linux machine, I have to configure 2
[46:49] files. One is input start
[46:50] configuration, inputs dot configuration.
[46:54] The second file is outputs dot configuration 2 configurations.
[46:58] This is also in the view question.
[47:01] You can expect the the interviewer will ask about what
[47:06] is, what is inputs dot configuration, what is outputs
[47:09] dot configuration, inputs dot configuration.
[47:12] We will specify from where you want to monitor which file,
[47:15] which log you want to monitor that you will specify here and
[47:20] in outputs dot configuration. If you have HF heavy forwarder,
[47:24] in between your indexer and universal forwarder you have to
[47:29] specify the HFIP address. Send the logs to HF OK and HF
[47:35] will do the parsing, filtering, masking all the parsing
[47:39] activities. Then it will forward to the
[47:41] index. OK.
[47:43] User will log into the searcher, he or she will execute the
[47:48] queries and the request will go to the indexer and you will get
[47:52] the data. Understood.
[47:54] Yeah. All right.
[47:59] So let me configure input start configuration.
[48:02] The path is CD or PT, Splunk forwarder ETC.
[48:10] System lock. This is the path where you can
[48:14] create your indexer input start configuration viinputs.com.
[48:27] So this is the format monitor column forward slash forward
[48:35] slash forward slash. Sorry, you're going to monitor
[48:44] warlock. OK.
[48:46] This is actually called monitor stamps.
[48:51] OK, now we are going to integrate.
[48:54] We'll keep the Cam. I will keep my Cam off so it has
[48:58] a better engagement. OK, fine.
[49:07] All right now. We are going to integrate Linux
[49:10] server. So let me, let me go back to the
[49:15] steps, what we have done in the first decision.
[49:22] So we have to create basically 2 files.
[49:25] The first 1-2 configuration files inputs dot configuration
[49:30] and outputs dot configuration. Yeah.
[49:46] So we this is the step we're talking about from.
[49:51] From the first first you need to install the Universal Forwarder
[49:54] agent in your Linux machine where you want to integrate.
[49:58] OK, that installation is already done.
[50:00] Now you have to create 2 files. OK, the first one is input start
[50:06] configuration and the second one is output start configuration.
[50:10] OK. Yeah, so.
[50:16] Here I have two files input start configuration.
[50:20] So you can see some monitoring input here Monitoring monitor
[50:25] war log swamp going to monitor war log.
[50:29] So I have authentication log, kernel log, syslog.
[50:32] So I'm monitoring basically this particular path.
[50:36] OK. And disabled equal to 0.
[50:38] That means I'm enabling my configuration then source type.
[50:42] Source type basically what type of data you are going to
[50:45] integrate. So source type is important when
[50:48] you are integrating your security devices like firewall,
[50:53] EDR, antivirus. So when you have proper source
[50:57] type, Splunk will automatically pass your logs.
[51:04] Yeah, then I have the host information.
[51:06] This is my Splunk server. Sorry, Universal forwarder IP
[51:11] address and index name. So this particular log will
[51:15] store in this particular index Linux.

Shows are listed from Apple Podcasts' charts and directory, and Podcast Index where it is used. Every show and episode belongs to its publisher and plays from the publisher's own feed; this site hosts none of them.
