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
Legend

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...