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!

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