Getting Data In

Discard Source type

nikhilagrawal
Path Finder

I have a situation.
I have defined the source type under Deployment server- deployment app>local>prop.conf> as

[source::.../engine-*.log]
TRANSFORMS-null=setnull

Also created under deployment app>local> tranforms.conf which includes:

[setnull]
DEST_KEY = queue
FORMAT = nullQueue

As explained link: http://docs.splunk.com/Documentation/Splunk/4.3/Deploy/Routeandfilterdatad#Filter_event_data_and_sen...

I want to discard the source type for the time being because data is not required for now but might req in future. Created a corresponding stanza in transforms.conf. Set DEST_KEY to "queue" and FORMAT to "nullQueue":
Problem: I am still getting data from that source type. Can you suggest to resolve this?

thanks

Tags (2)
0 Karma

Drainy
Champion

Do you mean source when you say sourcetype?
Did you restart after making those changes?
Also, they will only affect newly indexed data, all your old data will still persist in your index

0 Karma

nikhilagrawal
Path Finder

Can anyone suggest to my above query please?

0 Karma

nikhilagrawal
Path Finder

No It is source type named engine(in my case) and I have restarted the DS. Do I need to restart the forwarder as well? I dont mind with the existing data just want to ignore for future. I have also tried to comment out like:

[source::.../engine-*.log]

sourcetype=engine

TRANSFORMS-null= setnull

Just to check if it discard the data but still showing the indexed data.
Any suggestion?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...