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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...