Getting Data In

How to get a log in an index other than main?

itis_vendors
New Member

We have an application log that is being stored in the main index instead of an index we have called application_name. How do I get the application log data into the index called application_name?

Tags (1)
0 Karma
1 Solution

stephanefotso
Motivator

Hello! You can first create your index. During indexing your logs, you will be prompted to select the index. Just select your index, and everything will be ok.

Thanks

SGF

View solution in original post

0 Karma

stephanefotso
Motivator

Hello! You can first create your index. During indexing your logs, you will be prompted to select the index. Just select your index, and everything will be ok.

Thanks

SGF
0 Karma

itis_vendors
New Member

So I found that the index is created already. The application has 2 logs, one is going into the correct index, and one is going into the main. How can I set the other to go into the correct index?

0 Karma

stephanefotso
Motivator

You can set it both via splunk web or the configuration file.

Via splunk web:
First, create the index: Settings -->Indexes -->Newand create your index
Second, index your log: From splunk home, Add data--> Monitor. Select the source, ......... At the Next screen, select the index, ........ ....

SGF
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...