Troubleshooting 101 Flashcards

1
Q

What is SNOW?

A

a ticketing system

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

What does ps -aux do?

A

lists all processes

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

How to end a process?

A

kill -9 [PID]

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

How to check the processes that are taking the most resources on a system?

A

with a top command

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

What could we do if for some reason ./splunk restart command was not working?

A

kill -9 splunk process, and then try to run splunk

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

what is /proc/meminfo?

A

stores info about how much memory is available

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

what is /proc/cpuinfo?

A

stores information about cpu utilization

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

What does fdisk -l do?

A

lists available drives

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

What does rpm -qa do?

A

lists installed rpm packages

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

What does netstat -tanpu do?

A

Finds which ports are open and listening for inbound data

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

What is minimum hardware specification for Search Heads?

A
  • 16 physical cpu cores or 32 vcpu at 2ghz or greater speed core
  • 12 gb ram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is minimum hardware requirement for indexers?

A
  • 12 physical cpu cores or 24 vcpu at 2ghz or greater speed core
  • 12 gb ram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is MID-range hardware requirement for indexers?

A
  • 24physical cpu cores or 48 vcpu at 2ghz or greater speed core
  • 64 gb ram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is high performance hardware requirement for indexers?

A
  • 48 physical CPU cores, or 96 vCPU or greater per core
  • 128 gb RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Where we can access Splunk internal logs?

A

We can find internal splunk logs in _internal index (so we woul run a search on SH GUI) or we can access the files directly through CLI : $SPLUNK_HOME/var/log/splunk

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

What does tail -f do?

A

Prints last 10 lines of a file nad output appended data as the file grows

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

Name some of splunk .log files

A

audit.log

license_usage.log

metrics. log
splunkd. log

slunk_ui_access.log

splunk_web_access.log

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

What does audit.log store?

A

Audits what users do on a system, gives information about users activity such as failed login, running a search, modyfing a setting and more

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

What does license_usage.log store?

A

It keeps track of how much license is being used

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

What does metrics.log store?

A

Contains periodic snapshots of Splunk performance and system data, including information about CPU usage by internal processes and queue usage in Splunk’s data processing

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

What is throughput?

A

It is about how much data is flowing through splunk

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

What does splunkd.log store?

A

It stores information on what is going in splunk. It is a troubleshooting file - look for “errors” and “warns” in it.

23
Q

What does splunk_ui_access.log store?

A

It stores gui response time

24
Q

What does splunk_web_access.log store?

A

It stores web server logs

25
What is btool?
It shows you the settings in the given .conf files. Shows you possibles mistakes in configurations.
26
How to display a sum of a given configuration file in a given splunk component?
./splunk btool [.conf file name] list i.e: ./splunk btool inputs list
27
How to display a sum of a given configuration file in a given splunk component and show filepaths to each line?
./splunk btool [file] list --debug
28
How to check for typos in stanzas and settings names?
./splunk btool check
29
How to prepere and send diag file?
1. ./splunk diag 2. Using SFTP transfer diag file (double check permissions and ownership) to your machine, and from it send it to Splunk support or, if you have access to web use this command which will create diag file and send it ./splunk diag --upload
30
How to troubleshoot forwarder?
- Check if splunk is running (./splunk status) - Check deploymentclient.conf - check inputs.conf/outputs.conf - check splunkd.log to ensure that the forwarder is correctly connected to the indexers
31
How to troubleshoot users not having accesds to their data?
a) check if the data is there b) look at client's role Settings\>Access Control \>User Access \> Users c) Ensure that the following user's role has access to the index
32
lists all processes
What does ps -aux do?
33
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. kill -9 [PID]
How to end a process?
34
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. stores info about how much memory is available
what is /proc/meminfo?
35
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. stores information about cpu utilization
what is /proc/cpuinfo?
36
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. lists available drives
What does fdisk -l do?
37
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. lists installed rpm packages
What does rpm -qa do?
38
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. Finds which ports are open and listening for inbound data
What does netstat -tanpu do?
39
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. - 16 physical cpu cores or 32 vcpu at 2ghz or greater speed core - 12 gb ram
What is minimum hardware specification for Search Heads?
40
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. - 12 physical cpu cores or 24 vcpu at 2ghz or greater speed core - 12 gb ram
What is minimum hardware requirement for indexers?
41
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. - 24physical cpu cores or 48 vcpu at 2ghz or greater speed core - 64 gb ram
What is MID-range hardware requirement for indexers?
42
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. - 48 physical CPU cores, or 96 vCPU or greater per core - 128 gb RAM
What is high performance hardware requirement for indexers?
43
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. Prints last 10 lines of a file nad output appended data as the file grows
What does tail -f do?
44
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. Audits what users do on a system, gives information about users activity such as failed login, running a search, modyfing a setting and more
What does audit.log store?
45
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. It keeps track of how much license is being used
What does license\_usage.log store?
46
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. Contains periodic snapshots of Splunk performance and system data, including information about CPU usage by internal processes and queue usage in Splunk's data processing
What does metrics.log store?
47
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. It is about how much data is flowing through splunk
What is throughput?
48
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. It stores information on what is going in splunk. It is a troubleshooting file - look for "errors" and "warns" in it.
What does splunkd.log store?
49
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. It stores gui response time
What does splunk\_ui\_access.log store?
50
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. It stores web server logs
What does splunk\_web\_access.log store?
51
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. It shows you the settings in the given .conf files. Shows you possibles mistakes in configurations.
What is btool?
52
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. ./splunk btool [.conf file name] list i.e: ./splunk btool inputs list
How to display a sum of a given configuration file in a given splunk component?
53
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. ./splunk btool [file] list --debug
How to display a sum of a given configuration file in a given splunk component and show filepaths to each line?
54
# This is the "reversed" card. It first displays you the answer and you have to guess the question part of it. ./splunk btool check
How to check for typos in stanzas and settings names?