Getting Data In

Can I create an index locally and have it selectively forward specific fields from a source?

sail4lot
Path Finder

Hi all- I have a unique requirement/question, I think.

I'm wondering if there is a way in Splunk to set up a heavy forwarder as an indexer (so that we can search it locally) and also forward that data home. However, the unique part of this is that I want to specify which fields from a certain index get forwarded. For example, I want to search all the data (for the purpose of this example - containing fields A-Z) ingested and indexed locally, but when I send it to on to another indexer, already cooked, I only want to send fields A, B, C, D from that.

Any ideas?

Thanks.

0 Karma
1 Solution

micahkemp
Champion

You don't forward field. You forward events. Everything indexed in Splunk is an event.

If you want to change the format of the event to only include fields you want, you could use a savedsearch to table the fields you want and summary index that. But that would be done on a scheduled basis, not at index time.

View solution in original post

0 Karma

micahkemp
Champion

You don't forward field. You forward events. Everything indexed in Splunk is an event.

If you want to change the format of the event to only include fields you want, you could use a savedsearch to table the fields you want and summary index that. But that would be done on a scheduled basis, not at index time.

0 Karma

sail4lot
Path Finder

OK Yeah perfect. That's basically where I ended up with it all after doing a bunch of research. Thanks!

0 Karma

woodcock
Esteemed Legend
0 Karma

sail4lot
Path Finder

I'm not sure I see where you can specify which fields you want to forward in a given event. I see that you can forward specific events by whitelist or blacklist but not portions of them.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...