nerdexam
Splunk

SPLK-1003 · Question #145

A user recently installed an application to index NCINX access logs. After configuring the application, they realize that no data is being ingested. Which configuration file do they need to edit to in

The correct answer is A. Option A. In Splunk, app configuration files in the 'default/' directory are managed by the app vendor and get overwritten on upgrade. To make custom changes that persist through upgrades, edits must be made in the 'local/' directory of the app (e.g., $SPLUNK_HOME/etc/apps/<app_name>/local

Configuration Files

Question

A user recently installed an application to index NCINX access logs. After configuring the application, they realize that no data is being ingested. Which configuration file do they need to edit to ingest the access logs to ensure it remains unaffected after upgrade?

Exhibit

SPLK-1003 question #145 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(43 responses)
  • A
    74% (32)
  • B
    14% (6)
  • C
    5% (2)
  • D
    7% (3)

Explanation

In Splunk, app configuration files in the 'default/' directory are managed by the app vendor and get overwritten on upgrade. To make custom changes that persist through upgrades, edits must be made in the 'local/' directory of the app (e.g., $SPLUNK_HOME/etc/apps/<app_name>/local/inputs.conf). The 'local/' directory is never overwritten during upgrades. Since no data is being ingested, the inputs.conf file needs a monitor or file input stanza pointing to the NGINX access log path, and placing it in local/ ensures it survives future app updates.

Topics

#Data Ingestion#Configuration Files#Upgrade Best Practices#Inputs Configuration

Community Discussion

No community discussion yet for this question.

Full SPLK-1003 Practice