Module 3: Using Trendlines, Mapping, and Single Value Commands Flashcards

1
Q

What are some of the functions of the trendline command?

A
  • Allows you to overlay a computed moving average on a chart
  • Trendline computes the moving averages of a field
    example: trendline (field) [AS newfield]

Page 80 Mod 3

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

How many trendtypes are there?

A
  • sma = simple moving average
  • ema = exponential moving average
  • wma = weighted moving average

Page 80 Mod 3

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

What must be defined in order for the trendline command to work properly?

A

The period which to compute the trend

Page 81 Mod 3

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

The period must be an integer between?

A

2 and 10,000
example:
sma2(sales) is valid
sma(sales) would fail

Page 81 Mod 3

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

When would you want to use the iplocation command?

A

To look up and add location information to an event

Page 84 Mod 3

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

What information does the iplocation command include?

A

City, country, region, latitude and longitude

Page 84 Mod 3

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

Is all the information available for all the IP address ranges?

A

NO

Page 84 Mod 3

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

What will automatically define the default lat and lon fields required by the geostats command?

A

The iplocation command

Page 84 Mod 3

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

When would you want to use the geostats command?

A

To compute statistical functions and render as cluster map

Page 85 Mod 3

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

What are some of the components fo the geostats command?

A

[latfield=string]
[lonfield=string]
[stats-agg-term]* [by-clause]

Page 85 Mod 3

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

What does the data for the geostats command have to include?

A

Latitude and Longitude values

Page 85 Mod 3

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

When would you want to change the latfield and longfield in the geostats command?

A

If they differ from the default lat and lon fields

Page 85 Mod 3

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

To control the column count with the geostats command

A

use the globallimit argument

Page 85 Mod 3

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

What is a Choropleth Map?

A

It uses shading to show relative metrics, such as sales, network intruders, etc. for predefined geographic regions

Page 87 Mod 3

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

You need one of these in order to define regional boundaries?

A
  • KML (keyhole Markup Language) file
  • KMZ (compressed Keyhole Markup Language) file

Page 87 Mod 3

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

Splunk ships with two things to help define geographic regions, what are they?

A
  • geo_us_states, United States
  • geo_countries, countries of the World

Page 87 Mod 3

17
Q

Single value visualizations formatting can set color using UI or with?

A

The gauge command

Page 90 Mod 3

18
Q

When editing a single value visualizations what can you add to the timechart command?

A

A sparkline and a trend

Page 95 Mod 3

19
Q

What is a sparkline and what is it designed to do?

A

A sparkline is an inline chart and designed to display time-based trends associated with the primary key

Page 95 Mod 3

20
Q

What is a trend and where does it appear on a single value?

A

Shows the direction in which values are moving and it appears on the right of the single value

Page 95 Mod 3

21
Q

What is something you can do from the Format Options?

A

Automatically total every column

Page 96 Mod 3

22
Q

What are some of the downfalls when using the Format Options?

A
  • Cannot indicate which column to total; all columns are always totaled
  • Cannot add labels

Page 96 Mod 3

23
Q

Using what tab in the Format Options can you use to add the percentages?

A

The summary tab

Page 97 Mod 3

24
Q

What could you also use to get the totals other than the Format Options?

A

You can use the addtotals command

Page 98 Mod 3

25
Q

What does the addtotals command do?

A
  • Compute the sum of all or selected numeric fields for each column and place the total in the last row
  • Compute the sum of all or selected numeric fields for each row and place the total in the last column

Page 98 Mod 3

26
Q

What some examples of the addtotals command syntax?

A
addtotals:
[row=bool]
[fieldname=field]
[col=bool]
[labelfield=field]
label=string]
field-list

Page 99 Mod 3

27
Q

This pertains to addtotals command syntax

row=true/false (default=true) “row option

A

A column is created that contains numeric totals for each tow

Page 99 Mod 3

28
Q

This pertains to addtotals command syntax

col=true/false (default=false) “column option”

A

A row is created that contains numeric totals for each column

Page 99 Mod 3

29
Q

This pertains to addtotals command syntax

fieldname=field (default=Total) “row option”

A

Defines a string used to create a field name for the totals column

Page 99 Mod 3

30
Q

This pertains to addtotals command syntax

label=string (default=Total) “column option”

A

Defines a string used to name the totals row

Page 99 Mod 3

31
Q

This pertains to addtotals command syntax

labelfield=fieldname “column option”

A

Defines where the label string is placed. (Generally, you should make this the first column)

Page 99 Mod 3

32
Q

This pertains to addtotals command syntax

field-list=one or more numeric fields
(default: all numeric fields) “general options”

A

Defines the numeric fields to be totaled

Page 99 Mod 3

33
Q

When using the addtotals command what is the argument that adds the total of the row?

A

The argument is row=t (this is the default). row=t counts the fields in each row under a column named “Total Per Product”

Page 100 Mod 3

34
Q

When using the addtotals command what is the argument that adds the total of the columns?

A

The argument is col=t. col=t counts the fields in each row in a row named “Total Per Country”

Page 100 Mod 3