Getting Data In

I configured inputs.conf,but my data can't indexed?

laiyongmao
Path Finder

I configured inputs.conf,my data can't indexed,but on UI i can add the data.

/opt/splunk/etc/apps/$APP/local

indexes.conf
[_cpu]
coldPath = $SPLUNK_DB/_cpu/colddb
homePath = $SPLUNK_DB/_cpu/db
thawedPath = $SPLUNK_DB/_cpu/thaweddb

inputs.conf
[monitor:///root/date/CPU_.dat]
disabled = false
followTail = 0
host =
host_regex = (?i).
?(?P\d+.\d+.\d+.\d+)_
index = _cpu
sourcetype = cpuinfo

/opt/splunk/etc/system/local/
props.conf
[cpuinfo]
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = false
pulldown_type = 1

When i search "index=_cpu", event is 0.i don't know why? who can help me?

Tags (1)
0 Karma
1 Solution

lguinn2
Legend

Index names should not begin with "_".

View solution in original post

lguinn2
Legend

Index names should not begin with "_".

ajaysamantbms
Explorer

Check access roles permission for the user logged in and check if the user has permission to use this index

0 Karma

laiyongmao
Path Finder

thank you!but i have only user admin,what files i should configure?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...