Installation Manual Flashcards

1
Q

What is splunkd process

A

Process that accesses, processes and indexes streaming IT data.
It also handles search requests.
splunkd processes and indexes your data by streaming it through a series of pipelines, each made up of a series of processors.
splunkd also provides the Splunk Web user interface

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

What ports are used by splunkd

A

splunkd runs a Web server on port 8089 with SSL/HTTPS turned on by default.
It also runs a Web server on port 8000 with SSL/HTTPS turned off by default

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

What is splunkweb.exe?

A

splunkweb installs as a legacy service on Windows only

Prior to version 6.2, it provided the Web interface for Splunk Enterprise. Now, it installs and runs, but quits immediately

On Windows systems, splunkweb.exe is a third-party, open-source executable that Splunk renames from pythonservice.exe

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

processes for Splunk Enterprise on Windows

A

Splunkd
Splunkweb
splunk.exe
splunk-admon
splunk-perfmon

splunk-netmon

splunk-regmon

splunk-winevtlog

splunk-winhostmon

splunk-winprintmon

splunk-wmi

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

splunk-wmi

A

When you configure a performance monitoring, event log or other input against a remote computer, this program runs. Depending on how you configure the input, it either attempts to attach to and read Windows event logs as they come over the wire, or executes a Windows Query Language (WQL) query against the Windows Management Instrumentation (WMI) provider on the specified remote machine.

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

splunk-winprintmon

A

splunk-winprintmon runs when you configure a Windows print monitoring input in Splunk. This input gets detailed information about Windows printers and print jobs on the local system

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

splunk-winhostmon

A

splunk-winhostmon runs when you configure a Windows host monitoring input in Splunk. This input gets detailed information about Windows hosts.

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

splunk-winevtlog

A

You can use this utility to test defined event log collections, and it outputs events as they are collected for investigation. Splunk Enterprise has a Windows event log input processor built into the engine

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

splunk-regmon

A

splunk-regmon.exe runs when you configure a Registry monitoring input in Splunk. This input initially writes a baseline for the Registry in its current state (if requested), then monitors changes to the Registry over time

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

splunk-netmon

A

splunk-netmon runs when you configure Splunk Enterprise to monitor Windows network information on the local machine.

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

splunk-perfmon

A

splunk-perfmon.exe runs when you configure Splunk Enterprise to monitor performance data on the local Windows machine. This binary attaches to the Performance Data Helper libraries, which query the performance libraries on the system and extract performance metrics both instantaneously and over time.

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

splunk-admon

A

splunk-admon.exe runs whenever you configure an Active Directory (AD) monitoring input. splunkd spawns splunk-admon, which attaches to the nearest available AD domain controller and gathers change events generated by AD. Splunk Enterprise stores these events in an index.

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

splunk.exe

A

It provides the command-line interface (CLI) for the program. It lets you start, stop, and configure Splunk Enterprise, similar to the *nix splunk program.

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

Splunk on NFS

A

Use block level storage rather than file level storage for indexing your data. And avoid using NFS whenever possible

If you use NFS, note the following:

Do not use NFS to host hot or warm index buckets. Splunk Enterprise on NFS is supported only with cold or frozen buckets.
Do not use NFS to share cold or frozen index buckets amongst an indexer cluster, as this potentially creates a single point of failure.
Splunk Enterprise does not support “soft” NFS mounts. These are mounts that cause a program attempting a file operation on the mount to report an error and continue in case of a failure.
Only “hard” NFS mounts, where the client continues to attempt to contact the server in case of a failure, are reliable with Splunk Enterprise.
Do not disable attribute caching. If you have other applications that require disabling or reducing attribute caching, then you must provide Splunk Enterprise with a separate mount with attribute caching enabled.
Do not use NFS mounts over a wide area network (WAN). Doing so causes performance issues and can lead to data loss.

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

Splunk and CIFS/SMB

A

Splunk Enterprise supports the use of the CIFS/SMB protocol for the following purposes, on shares hosted by Windows hosts only:

Storage of cold or frozen Index buckets.
When you use a CIFS resource for storage, confirm that the resource has write permissions for the user that connects to the resource at both the file and share levels

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

Install Splunk on windows

A

Disable or limit antivirus software if able
The Splunk Enterprise indexing subsystem requires high disk throughput

Consider installing Splunk software into a directory with a short path name
it might be problematic for installations that run in distributed deployments or that employ advanced Splunk features such as search-head or indexer clustering.

Install Splunk Enterprise via the GUI installer
The Windows installer is an MSI file

17
Q

Default installation settings on windows

A

Installs Splunk Enterprise in \Program Files\Splunk on the drive that booted your Windows machine.
Installs Splunk Enterprise with the default management and Web network ports.
Configures Splunk Enterprise to run as the Local System user.
Prompts you to create a Splunk administrator password. You must do this before installation can continue.
Creates a Start Menu shortcut for the software.

18
Q

User to run Splunk services (Windows installation)

A

When the installer asks you the user that you want to install Splunk Enterprise as, you must specify the user name in domain\username format. The user must be a valid user in your security context, and must be an active member of an Active Directory domain. Splunk Enterprise must run under either the Local System account or a valid user account with a valid password and local administrator privileges

To do any of the following actions with Splunk Enterprise, you must install it as a domain user:

Read Event Logs remotely
Collect performance counters remotely
Read network shares for log files
Access the Active Directory schema using Active Directory monitoring

19
Q

Install Splunk on Linux

A

Splunk Enterprise does not create the splunk user. If you want Splunk Enterprise to run as a specific user, you must create the user manually before you install.

Installation procedure

Expand the tar file into an appropriate directory using the tar command:
tar xvzf splunk_package_name.tgz

The default installation directory is splunk in the current working directory. To install into /opt/splunk, use the following command:
tar xvzf splunk_package_name.tgz -C /opt

20
Q

System hardening before Splunk installation best practices

A

Limit shell access
Limit cli access

21
Q

View installer hash

A

cat splunk-x.x.x-xxxxxxxxxxxx-Linux-x86-64.tgz.md5

22
Q

Run the md5 tool against the installer package.

A

md5 splunk-x.x.x-xxxxxxxxxxxx-Linux-x86-64.tgz