Splunk Search

fields that begin with a number

alexl1
Path Finder

I have a bunch of fields that begin with a number, which Splunk doesn't allow, is there a way to put an alpha character in front in props.conf so they get indexed?

Tags (1)
0 Karma
1 Solution

alexl1
Path Finder

props.conf

[my_sourcetype]
REPORT-cleanupkeys = clean_my_keys

transforms.conf

[clean_my_keys]
REGEX = ^([^=]*)=([^\n]*)
FORMAT = $1::$2
CLEAN_KEYS = false

View solution in original post

0 Karma

alexl1
Path Finder

props.conf

[my_sourcetype]
REPORT-cleanupkeys = clean_my_keys

transforms.conf

[clean_my_keys]
REGEX = ^([^=]*)=([^\n]*)
FORMAT = $1::$2
CLEAN_KEYS = false
0 Karma

kristian_kolb
Ultra Champion

Hi, i think you can keep your fields with the starting with a number, if you use a REPORT transform for the extraction, and set CLEAN_KEYS = false

http://docs.splunk.com/Documentation/Splunk/5.0.2/Knowledge/Createandmaintainsearch-timefieldextract...
http://docs.splunk.com/Documentation/Splunk/5.0.2/Knowledge/Createandmaintainsearch-timefieldextract...

/K

0 Karma

alexl1
Path Finder

is there a way to do it at the indexing layer?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...