Configure event type templates
Event type templates create event types at search time. Define event type templates in eventtypes.conf. Edit
$SPLUNK_HOME/etc/system/local/, or your own custom application directory in
For more information on configuration files in general, see "About configuration files" in the Admin manual.
Event type template configuration
Event type templates use a field name surrounded by percent characters to create event types at search time where the
%$FIELD% value is substituted into the name of the event type.
So if the search query in the template returns an event where
%$FIELD%=bar, Splunk creates an event type titled
$NAME-bar for that event.
[cisco-%code%] search = cisco
If a search on "cisco" returns an event that has
code=432, Splunk creates an event type titled "cisco-432".
Configure event types directly in eventtypes.conf
This documentation applies to the following versions of Splunk® Enterprise: 4.3, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7