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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...