Module 9 Creating Field Aliases and Calculated Fields Flashcards
What do we use Field Aliases for?
to Normalise data over a default field (host, source or sourcetype)
can Multiple Aliases be applied to one field?
Yes
when are field aliases applied?
After field extractions and before lookups
True or False
Field aliases can’t be applied to lookups
False
Give a usage example for field extraction
Several devices have some type of username field
deviceA user, device username, DeviceC USER
we will create a UserName Filed alias
where do we locate the field alias tool?
Settings > Fields > Field Aliases > New Field Alias
when creating the field alias is the original field affected?
NO
True or False
Field aliases can be referenced in a lookup table
True
What is a calculated field?
shortcut for performing repetitive, long or complex transformations using the eval command.
Must be based on an extracted field
where do you create a calculated field
Settings > Fields > Calculated Fields > New Calculated Field
How does this look using the megabytes calculated field?
| eval megabytes = sc_bytes/(1024*1024)
| stats sum(megabytes) as Megabytes by usage
| sort Megabytes
| | sort Megabytes
stats sum(megabytes) as Megabytes by usage