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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...