Getting Data In

inputs.conf and destination index

peter_gianusso
Communicator

this stanza works and indexes events:

[monitor://\Njros1bva0624\c_root$\Program Files\eClarifyPM\eClarifyPM.log]

disabled = false

host = ECLARIFYLOG_HOST

alwaysOpenFile = 1

sourcetype = ECLARIFYLOG

If shutdown splunk, I clean the indexes, thenchange the above stanza to the stanza below and then restart splunk , this stanza does not result in any indexing of events:

[monitor://\Njros1bva0624\c_root$\Program Files\eClarifyPM\eClarifyPM.log]

disabled = false

host = ECLARIFYLOG_HOST

alwaysOpenFile = 1

sourcetype = ECLARIFYLOG

index=imaging]

The index, imaging, does exist.

Please advise

Tags (2)
0 Karma
1 Solution

sieutruc
Contributor

I think you should use search as: index=imaging .... Or you can go to Access Control->Role and add that index into your user's selected indexes. If not, try to restart again.

View solution in original post

0 Karma

sieutruc
Contributor

I think you should use search as: index=imaging .... Or you can go to Access Control->Role and add that index into your user's selected indexes. If not, try to restart again.

0 Karma

peter_gianusso
Communicator

Now I understand your comments about user's selected indexes..you need to add it to the role's default indexes..bingo!!

0 Karma

sieutruc
Contributor

Try those commands
/opt/splunk/bin/splunk stop
/opt/splunk/bin/splunk clean eventdata [imaging|main]
/opt/splunk/bin/splunk start

0 Karma

peter_gianusso
Communicator

the problem isn't a search. it doesn't index any files when I add the index=imaging.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...