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.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...