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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...