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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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