This documentation does not apply to the most recent version of Splunk.
This documentation applies to the following versions of Splunk: 3.2 , 3.2.1 , 3.2.2 , 3.2.3 , 3.2.4 , 3.2.5 , 3.2.6
Use fields.conf to configure how Splunk handles user-defined fields at index time.
Configure fields.conf to:
[<field name>] TOKENIZER = $REGEX INDEXED = True/False INDEXED_VALUE = True/False
tokenizer
indexed
indexed_value
indexed_value tells search whether the value 'bar' is in the index or not (eg will the values for this field be found in _raw - the raw text of the event).
indexed_value to true if the value is in the raw text of the event.
Note: You only need to set indexed_value if indexed = false.