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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...