Few important tips to take note of
Here we can see about Field Extraction and table formatting
| fields – to make searches more efficient, main part of search
- -fieldname fieldname2 is different for – fieldname fieldname2
it makes search more efficient if the fields are included or excluded.
| table – like fields- but changes data to tabulated format (transforming command)
fields to be used before using the table command
| dedup – to remove duplicate values form the values displayed in the events/rows
- count ex:
- top, limit: top vendor limit=5
- rare
- showperc=true/false
- otheruser=true
Few of the Stats commands
- count ex: stats count as “column name” by field name
- distinct count ex:
- sum
- average
- min
- max
- list
- values
Chart
| chart count over status
count of a field can be noted in x axis, y always numeric as the data mentioned in x axis can be displayed based on the count.
Questions and Answers:
- Which of the following removes the duplicate? dedup.
- In a single series data table, which column provides the x-axis values for the visualization? 1st column?
- Which optional argument of the addtotals command changes the label for row totals in a table? label.
- Which clause can be used with the top command to change the name of the count column? countfield.
- Which clause can be used with the top command to specify a number of values to return? limit.
- Which command changes the appearance of field values? fieldformat.
- How many columns are displayed by default when using the chart command? 10.
- Which type of default map visualization uses shading to represent relative metrics? chloropleth.
- Which of the following commands can return a count of all events matching a search criteria over a specific time period? trendline sma/ema/wma
- When using the time chart command, which axis represents time? x-axis.
- How can the order of columns in a table be changed? By changing the order of fields specified in the table command.
- Which argument can be used with the time chart command to specify the time range to use when grouping events? span.
- Which clause can be used with the rare command to specify whether a percentage column is created? showperc.
- Which command can be used to exclude fields from search results? fields.
- Which argument can be used with geostats command to control the column count? globallimit.