Getting Data In

Change field names of indexed data

JeremyHagan
Communicator

Hi,
I've got a particular source type which I would like to modify the field names of so that they are CIM compliant. Eg rename source_ip to src_ip.

The field names are specified in the tranforms.conf. I am assuming that these field extractions are just search time and aren't written into the index. Is this correct? Will the field name change be reflected against data already indexed?

Cheers,
Jeremy.

0 Karma

woodcock
Esteemed Legend

It depends. If you use REPORT- or EXTRACT- in props.conf, then the referenced extractions inside of transforms.conf happen at search-time, but if you call TRANSFORMS-, then they will happen at index-time. Read all about it here:

http://docs.splunk.com/Documentation/Splunk/6.2.5/admin/propsconf
http://docs.splunk.com/Documentation/Splunk/6.2.5/admin/transformsconf

JeremyHagan
Communicator

Good answer. Thanks. We are using REPORT-, so it is all good.

0 Karma

woodcock
Esteemed Legend

If you are all set then you should click Accept to close the question.

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

Once data is indexed, it is not changeable. You can only transform it ( field alias, extractions, etc) at search time. So you are correct.

Cheers
Eric

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...