Splunk Search

I missed a field in my custom sourcetype

riotto
Path Finder

I am trying to add a field that I missed on my custom sourcetype. If I add it to the transforms.conf, the data (event) stops getting indexed. My transforms is a simple delimited fields entry. Is there a way to add this field to the event after the missing it? Also, will
the indexer enter a second event that has the same host, source, sourcetype and event time (_time) ? ...a duplicate event ?

Tags (1)
0 Karma

riotto
Path Finder

The data is just integers for each field 202,109,497,3455,223,227,884,334,964 (...level9)

0 Karma

riotto
Path Finder

inputs.conf
[script://./bin/test.sh]
interval = 60
sourcetype = leveltest
source= leveltest
index = os
disabled = 0

props.conf:
[leveltest]
SHOULD_LINEMERGE = False
pulldown_type = 1
REPORT-level= LEVEL

transforms.conf:
[LEVEL]
DELIMS = ","
FIELDS =level1, level2, level3, level4, level5, level6, level7, level8 (..need to add level9)

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

Need more detail. What does your inputs.conf, props.conf, and transforms.conf look like?

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

And maybe add a sample set of events to the post.

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