Module 10: Parsing Phase and Data preview Flashcards

1
Q

What is props.conf used for?

A
•Used to configure pre-processing properties
•Settings applied through attribute/value pairs
•Observe order of precedence
o	System local directory – highest
o	App local directory
o	App default director
o	System default directory – lowest
•Restart required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is transforms.conf used for?

A
  • Works in collaboration with props.conf
  • Holds settings to configure data transformations
  • Covers the “how” parts of things
  • Requires corresponding setting is props.conf
  • Unique stanza name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two line-breaking methods in Splunk?

A

line breaking

line merging

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

How is line breaking configured?

A

o When SHOULD_LINEMERGE=false, Splunk users LINE_BREAKER regex that by default is: ([\r\n}+)

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

How is line merging configured?

A

o Explicated provide line break setting using attributes lie BREAK_ONLY_BEOFRE or MUST_BREAK_AFTER etc
o SHOULD_LINEMERGE=true to take effect

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

How do you configure multi-line event boundaries?

A
•Breaks and re-assembles data stream
•Add a stanza in props.conf
•Set SHOULD_LINEMERGE=true
•Set the line merging attributes
o	BREAK_ONLY_BEFORE
o	BREAK_ONLY_BEFORE_DATA
o	MUST_BREAK_AFTER
o	MAX_EVENTS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to you break data streams in to real events?

A
•More efficient but hard to work with
•Add a stanza in props.conf
•Set SHOULD_LINEMERGE=false
•Set LINE_BREAKER attribute
o	Default is ([\r\n}+)
o	Set to regex matching event boundary
•Restart Splunk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some features of timestamps in Splunk enterprise?

A
  • Nothing without a timestamp – all events must have a timestamp. If not, Splunk assigns one
  • Edit props.conf – to configure or modify timestamps
  • Timestamp recognition – Splunk recognised most of the timestamp formats out-of-the-box
  • Enhanced strptime() support – keeps the text to three lines or fewer
  • Timestamp validity attributes – for accepting or rejecting the timestamp in the events
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you edit timestamp properties?

A
  • Timestamp configurations are done on heavy forwarders or indexers
  • Configuration applied to , source:: or host::
  • Identifying the correct formant of the timestamp is the key
  • Select the correct timestamp if multiple timestamps are present
  • Account for the correct time-zones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a default field?

A
  • Tagged and added automatically to event data at index time
  • Each default field holds information about the data it is tagged to
  • Three types of default fields: internal, basic, and datetime
  • Overridden when default behaviour need to be change
  • Change does not apply to previously indexed events
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How are default fields overidden at input creation time?

A
•Through Spunk Web
•In configuration files
•Provides values for relevant attribute
o	Host
o	Source
o	Sourcetype
o	Index
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How are default fields overidden in exisiting inputs?

A
•Define a suitable value to assign
o	Static value
o	Regular expression
•Identify events to apply change
o	Regex based
•Write stanza in configuaruin files
o	Transforms.conf
o	Props.conf
•Restart Splunk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is routing event data?

A
  • Based on host, source, sourcetype or a pattern in events
  • Pattern based routing can only be done on a full Splunk instance
  • UF’s route data based on host, source, sourcetype
  • Can forward to multiple target indexer groups
  • Can be routed to third party systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is filtering event data?

A
•Similar to routing events
•Based on regular expression
o	Regex for selecting events
o	. or (.) for all events
•Routed to queues
o	indexQueue
o	nullQueue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly