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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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