Splunk Search

Index a small file (2 KB)

rayar
Contributor

Hi
I need to index a small file (2KB) (on Heavy Forwarder )
the file is not indexed

[monitor://\raanana\Tabi4Splunk\TABLEAU_integration_csv\MIS.csv]
disabled = false
index = penetrationtest_mis
sourcetype = csv_current_time
crcSalt =

Tags (1)
0 Karma

rayar
Contributor

looks like the issue got resolved with the below configuration

[monitor://\raanana\Tabi4Splunk\TABLEAU_integration_csv\MIS.csv]
disabled = false
index = penetrationtest_mis
sourcetype = csv_current_time
crcSalt =
initCrcLength = 1024

thanks a lot

0 Karma

PavelP
Motivator

Please don't forget to select "Accept as a solution" if this reply resolves your query!

0 Karma

PavelP
Motivator

if the file has a large header then CRC can be an issue. You may need to set initCrcLength.

try to run this command in elevated command prompt (as admin):

c:\programfiles\splunk\bin\splunk.exe list inputstatus
0 Karma

HiroshiSatoh
Champion

I think it's not about file size, it's about file specifications.
Can you upload a sample file?
Do you know the specifications of the update?

0 Karma

rayar
Contributor

i have copied the same data few time (file size 12 kb) in the same file and it indexed properly

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...