Getting Data In

How to index duplicate files which has different name

snehalk
Communicator

Hello All,

Is there any application or method in Splunk, where we can index the files(which has same contain) in Splunk but with different file name?

Or Can we identify the duplicate files in Splunk without indexing?

Note: one option is there where we can delete the fishbucket and reindex, but i dont want to go with this option.

Can any one help me on this.

Thanks in Advance.

1 Solution

gcusello
SplunkTrust
SplunkTrust

insert in your inputs.conf stanza the row

crcSalt = <SOURCE>

as described in http://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf

Bye.
Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

insert in your inputs.conf stanza the row

crcSalt = <SOURCE>

as described in http://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf

Bye.
Giuseppe

snehalk
Communicator

Hello Cusello,

Thank you for quick response, am using below config as suggested by you, and its indexing duplicate files in splunk.

inputs.conf
[monitor://C:\sampleduplicate\duplicatefiles\*]
index=main
sourcetype=vendorduplicate
crcSalt = <SOURCE>

Thank you once again !!

0 Karma

Samir__
Engager

Follow up question on the same topic. I also have files with different name but most of them have exact same contents.

After adding crcSalt = < SOURCE> in inputs.conf, does splunk automatically index previously excluded "duplicates"?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...