Getting Data In

Dynamic sourcetype setup

henry_ty_leung
Explorer

Hi There,

Just wondering whether it is possible to define ONE sourcetype for below csv log files.
So that we do not need to append into the same csv file (i.e it's already over 8GBs now) for source referencing...

i.e \\10.252.25.81\Splunk\henry\website_*.csv

E.g.

\\10.252.25.81\Splunk\henry\website_20141215.csv
\\10.252.25.81\Splunk\henry\website_20141216.csv
\\10.252.25.81\Splunk\henry\website_20141217.csv
\\10.252.25.81\Splunk\henry\website_201412....csv

....etc

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi henry_ty_leung,

sure, take a look at the docs http://docs.splunk.com/Documentation/Splunk/6.2.0/admin/Inputsconf where you can learn how to set a sourcetype for an input:

sourcetype = <string>
* Sets the sourcetype key/field for events from this input.

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...