All Apps and Add-ons

removing learned sourcetype

aaronkorn
Splunk Employee
Splunk Employee

Is it possible to remove a learned sourcetype? Splunk S.o.S says we have 8 learned sourcetypes and I am trying to clean these up. I imagine I can just remove them from sourcetypes.conf and redefine these in inputs.conf? Any help is appreciated. Thanks!

1 Solution

sdaniels
Splunk Employee
Splunk Employee

The learned app has it challenges at times but it does try to learn your sourcetypes automatically. Differences in punctuation cause it to have multiple sourcetypes. You can go into the learned app directory and remove those settings in sourcetypes.conf and then explicitly set your inputs.conf to what you want the sourcetypes to be. Unfortunately this won't change any data you've already indexed under those learned sourcetypes. Also, it's not recommended to disable the learned app.

View solution in original post

sdaniels
Splunk Employee
Splunk Employee

The learned app has it challenges at times but it does try to learn your sourcetypes automatically. Differences in punctuation cause it to have multiple sourcetypes. You can go into the learned app directory and remove those settings in sourcetypes.conf and then explicitly set your inputs.conf to what you want the sourcetypes to be. Unfortunately this won't change any data you've already indexed under those learned sourcetypes. Also, it's not recommended to disable the learned app.

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...