Getting Data In

Problem with indexes except main

RezaET
Observer

I installed cisco network add-on, but only main index work and I cannot store log in another index

Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Can you be more verbose? What do you mean by "I cannot store log in another index". The TA itself shouldn't have anything to do with the indexes.

0 Karma

RezaET
Observer

first, I created new UDP data input whit a new index "cisco"

but when I search index=cisco there was no event

then I create new UDP data input whit "main" index and I worked.

but I don't like to store my switch event in main index

 

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Have you created an index named "cisco" before creating inputs? You can't send events to a non-existent index.

If you haven't, the event will end up either in a last-chance index (if you have one configured) or discarded (and you'll get a warning in _internal about it).

0 Karma

RezaET
Observer

yes, first I cedared index and then input. but it didn't work, only main index work

0 Karma

PickleRick
SplunkTrust
SplunkTrust

That does indeed seem strange because you should be getting events into an index regardless of an add-on. The only things that could make you not see the events would be bad timestamp parsing (but that would happen regardless of destination index), bad timerange you're searching (ditto) or no permissions for the cisco index (but as you're saying you've created the index I'm assuming you've got admin rights here).

Try to run

| tstats count where index=cisco by source sourcetype

over all time and see if you get any results

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @RezaET ,

the issue probably is in the default search path:

by default only the main index is in the default search path and in apps the index isn't specified.

You have two solutions:

  • add the other indexes in the default search path,
  • add the index in all the searches of your app.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...