Hunk®(Legacy)

Hunk User Manual

Download manual as PDF

Download topic as PDF

Virtual index configuration variables

When you configure a virtual index, Hunk automatically sets a number of configuration variables. You can use the preset variables, or you can modify them as needed by editing the index.

Setting: Use it to:
vix.input.[N].path Provide a path in HDFS that contains wildcards and/or ends with ... which specifies the data for this index. Paths ending with "..." will recursively check directories in the path for data.
vix.input.[N].accept Determine the regex that files/paths should match.
vix.input.[N].ignore Determines the regex that blacklists files/paths. These values take precedence over vix.input.[N].accept values.

Variables for extracting earliest/latest timebounds based from the path (earliest time):

Setting: Use it to:
vix.input.[N].et.regex Determine a regex to extract time components. All capturing groups are concatenated and interpreted using format provided in the next row.
vix.input.[N].et.format Provide the date/time format to use when interpreting the string built with the above regex. This value can be set to "epoch" to interpret the time as seconds. For more information on the format, see here
vix.input.[N].et.value epoch time in milliseconds:
  • Sets the earliest time for this virtual index.
  • Can be used instead of extracting times from the path via vix.input.x.et.regex
  • When set to "mtime", uses the file modification time as the earliest time.
vix.input.[N].et.offset Set the amount of time (in seconds) to add to the resulting time.
vix.input.[N].et.timezone Determine the timezone in which to interpret the extracted time. E.g. "America/Los_Angeles" or "GMT-8:00" more info


Variables for extracting earliest/latest timebounds based from the path (latest time):

Setting: Use it to:
vix.input.[N].lt.regex Determine the regex to extract time components. All capturing groups are concatenated and interpreted using format:
vix.input.[N].lt.format Determine the date/time format for interpreting the string built with the above regex. Can be set to "epoch" to interpret the time as seconds. For more info on the format see here
vix.input.[N].lt.value epoch time in milliseconds:
  • Sets the latest time for this virtual index.
  • Can be used instead of extracting times from the path via vix.input.x.et.regex
  • When set to "mtime", uses the file modification time as the latest time.
vix.input.[N].lt.offset Set the amount of time (in seconds) to add to the resulting time.
vix.input.[N].lt.timezone To set the timezone in which to interpret the extracted time. E.g. "America/Los_Angeles" or "GMT-8:00" more info
PREVIOUS
Provider Configuration Variables
  NEXT
Virtual archive index configuration variables

This documentation applies to the following versions of Hunk®(Legacy): 6.0, 6.0.1, 6.0.2, 6.0.3, 6.1, 6.1.1, 6.1.2, 6.1.3, 6.2, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.3.6, 6.3.7, 6.3.8, 6.3.9, 6.3.10, 6.3.11, 6.3.12, 6.3.13, 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters