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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...