Knowledge Management

How do you add a field/column to an existing kvstore?

snorri
Path Finder

We have a kvstore that has been used for about a year.

Now we need to add a new field/column to the kvstore, but we can't find any info on how to do this or if it's even possible.

So my question is: is this possible? if so, how?

Or is the only option to create a completely new kvstore?

0 Karma
1 Solution

493669
Super Champion

Hi @snorri,

Add the new field name in transforms.conf and collections.conf under that kv store lookup stanza.
like in transforms.conf add under fields_list comma separated value.
and in collections.conf >> field.fieldname = string/number

View solution in original post

493669
Super Champion

Hi @snorri,

Add the new field name in transforms.conf and collections.conf under that kv store lookup stanza.
like in transforms.conf add under fields_list comma separated value.
and in collections.conf >> field.fieldname = string/number

snorri
Path Finder

hm. I have already done this, also in the lookup definitions. Is it enough to _bump the splunk version or do I have to restart splunk for the changes to take effect?

0 Karma

493669
Super Champion

you need to restart splunk

JTS911
Explorer

OR run <splunkweb>/en-US/debug/refresh

0 Karma

snorri
Path Finder

I added the field in: lookup defenition, collections.conf and transforms.conf.
After restarting the new field appeard. Thanks alot!

0 Karma

sfatnass
Contributor

if still not working can you show us your conf?

0 Karma

snorri
Path Finder

I added the field in: lookup defenition, collections.conf and transforms.conf.
After restarting the new field appeard. Thanks alot!

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