Getting Data In

Two diffent indexes

arkonner
Path Finder

Is it possible to send different logs on two different indexes

[default]
host = EDGE1

[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]
disabled = 0

[WinEventLog://Microsoft-Windows-WinNat/Oper]
disabled = 0
index = DAlogs
whitelist = 1017,4303,2000,4304,1018

[monitor:///C:\Program Files\log_nlb]
disabled = 0
sourcetype = csv
index = nlb_log

Tags (3)
0 Karma
1 Solution

ddrillic
Ultra Champion

Sure, in the monitor, you specify the exact log path and its corresponding index.

View solution in original post

0 Karma

somesoni2
Revered Legend

Yes, the index name is available for each data input stanza and each input stanza can be configured to a different indexes (index should exist on the indexer)

0 Karma

ddrillic
Ultra Champion

Sure, in the monitor, you specify the exact log path and its corresponding index.

0 Karma

arkonner
Path Finder

The sintax in the inputs.conf reported above is it correct? Can you please add an example

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