Knowledge Management

Collect Command

ManishaAgrawal
Explorer

Is it possible to use collect command to collect data from one index and move it to another, where destiation index is not a summary index ?

index=whatever host=whatever source=whatever whatever | collect index=foo

Where foo is pre-configured index in indexes.conf.

Tags (1)
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

Sure. I don't think collect really cares where it gets dumped, just be aware that there will probably be some summary data within the dumped information.

View solution in original post

0 Karma

ManishaAgrawal
Explorer

Thanks Alacercogitatus

Could you please highlight what summary data would be indexed.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Sure. I don't think collect really cares where it gets dumped, just be aware that there will probably be some summary data within the dumped information.

0 Karma

linu1988
Champion

some extra fields will be added to the orinal index. you are going to loose event structure, host will change to local splunk instance name. you can see by using a single event collect. Rather than using collect you could copy the buckets.

http://answers.splunk.com/answers/118518/is-it-possible-to-divide-an-index-to-two-indexes?page=1&foc...

0 Karma

ManishaAgrawal
Explorer

Thanks Alacercogitatus

Could you please highlight what summary data would be indexed.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...