Splunk Search

Data going to wrong index

yasarforu
Loves-to-Learn

I configured my log file path to my specific index. But after indexing i found the data going into main index. I tried by giving [default]index= xys, index with [monitor://
but no luck so far.

Any suggestion on this?

Tags (3)
0 Karma

yasarforu
Loves-to-Learn

Tried 1:
[default]
index=sfs

[monitor:///web/logs/sfs/GCTIRServices*]
disabled=false

Tried 2:
[default]
index=sfs

[monitor:///web/logs/sfs/GCTIRServices*]
disabled=false
index=sfs

Tried 3:
[monitor:///web/logs/sfs/GCTIRServices*]
disabled=false
index=sfs

I tried all above 3 options before posting this question. It is still going to main index.

0 Karma

strive
Influencer

Can you post your inputs.conf and also transforms.conf

Ayn
Legend

If you specify index=someindex in your monitor section in inputs.conf, that will change which index the data is sent to unless you have some transform changing that at a later stage.

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 ...