QuestionQ45

VerifiedGetting Data In

A security team must ingest a static file for a particular incident. The log file has not been collected before, and any future changes to the file must not be indexed.

Which command satisfies these requirements?

Explanation

Splunk’s add oneshot command uploads the exact source file once and does not monitor it continuously, so later updates are not indexed. The -index incident argument directs the resulting events to the incident index.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!