SH C Flashcards

1
Q

What is search head clustering ?

A

Group of Splunk Enterprise search heads that serve as a central resource for searching.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name the characteristics of a SH cluster.

A

-Minimum of three nodes
-Share the same search artifacts
-Share the same configurations
-Allows more users to access the same data
-If one search head goes down, searching and data high availability will continue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why use SH clustering ?

A

A. Horizontal scaling-as the number of users and search load increase, you can add new search heads.

B. High Availability-As only 12 users can access a search head, more nodes allow for data to be more available

C. No Single Point of Failure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How will you fix the problem of slow running searches?

A

add more RAM and CPU or storage to server; adding more storage and increasing processing = decrease amount of CPU being tied up

scale your SH up(one way), is the last thing you would do since you are adding more resources which would cost more money

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the main job of a captain?

A

Assign jobs to members and itself and coordinates alerts and pushes knowledge objects to indexers

(so the indexers can process that distributed search = when doing distributed search there are KO(knowledge objects) that get attached to data presented on screen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is captain responsible for results?

A

NO, captain is not responsible for results, it is responsible for coordinating distributed search and peers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is STATIC CAPTAIN and how do you choose it?

A

designated captain ; to choose you have to decide the server and necessary command or configurations ; specify all the hostnames of other SH that will be part of cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a DYNAMIC CAPTAIN

A

(automatic from Splunk)

captain that is not set ; SH and cluster vote who should be captain based on which SH is least busiest every 10 min = always changing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe load balancer role in search head cluster.

A

sit between users and our SH (only)

does a health check of SH

if SH is bad LB will move end user to another SH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an app?

A

a group of configuration files that is sent to specific components to control server behavior

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which 3 components of Splunk can deploy apps and from what location?

A

Deployment Server = opt/splunk/etc/deployment-apps

Cluster Master = opt/splunk/etc/master-apps

Deployer = opt/splunk/etc/shcluster/apps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Main difference between etc/apps vs system/local

A

with system/local when you put configs here they are not apps-they can never be managed by centralized manager

making system local changes = bootstrapping and will override anything in etc/apps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Most important feature of opt/splunk/etc?

A

Apps that are OOTB, from Splunkbase, or custom-made for the individual component itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Most important feature of opt/splunk/etc/system/local?

A

Configurations that are configured locally on the individual component itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Discuss the configurations bundled in: opt/splunk/etc/deployment-apps, opt/splunk/etc/master-apps, opt/splunk/etc/shcluster/apps

A

opt/splunk/etc/deployment-apps = Configurations bundled in an app to deploy configurations to the clients of the deployment servers.

opt/splunk/etc/master-apps = configurations bundled in an app to deploy configurations to the indexers that are part of the indexer cluster.

opt/splunk/etc/shcluster/apps = Configurations bundled in an app to deploy configurations to search heads part of the search head cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the features of a Splunk app?

A

-Has a web feature (UI)
-Installed on the SH
-Contain dashboards and visuals

17
Q

What are the features of a Technical Add-On (TA)?

A

-Does not have a GUI
-Contains bundles of configurations for any reason(i.e. inputs.conf,outputs.conf,indexes.conf etc)

18
Q

What must every custom TA/app except indexes have?

A

app.conf

19
Q

What does app.conf do?

A

Maintains the state of the app within the Splunk platform.

Customization of app name and description takes place here.

20
Q

Where do you place app.conf?

A

Default directory

21
Q

True or False? Any changes made in app.conf requires a restart of Splunk?

A

True

22
Q

Guidelines for App Creation

A

1-Apps should be named to reflect the purpose of the app.
2-All apps must contain a local, default, and metadata directory except apps for your indexes.
3-Apps must contain an app.conf and default.meta.conf at minimum.
4-The same app cannot exist in two paths on the indexer simultaneously.
5-Limit the number of configs placed in /system/local in order to decrease the amount of time spent processing. Centralized config management is industry best practice.
6-Configs that are pushed to the servers take precedence over configs kept in the local apps directory.

23
Q

What are Base Apps?

A

Config bundles used to deploy settings to different components.

Base apps are the architecture settings that prepare your architecture to process data and where architecture settings can be updated and managed.

24
Q

Where are base apps(TA) placed?

A

On configuration managers-where it is centrally distributed to ALL servers.

25
Q

What are some examples of configurations seen in base apps?

A

Inputs.conf-splunktcp://9997 - deployed to all indexers

Outputs.conf-[tcpout] deployed to all servers that send data to indexers

Server.conf - deploy license, indexer and searchhead clustering configurations, etc

Web.conf - disable web or enable

Indexes.conf - deployed to indexers to maintain consistency in bucket settings

26
Q

Configure Base Apps for 3 main components.

A

Forwarder = needs to send data to the indexer

Indexer = needs to enable receiving and needs to configure indexes for storing data

Searchhead = need to send internal log to indexers & need to have access to indexers in order to search them