Knowledge Management

How to add events to an index like logevents but without using alert (using a search for instance)?

splunkreal
Motivator

Hello guys,

how to add events to an index like logevents but without using alert (using a search for instance)?

There is "collect" command but not sure it applies to non-summary indexes?

Thanks.

Splunk 6.5.2 clustered environment.

* If this helps, please upvote or accept solution 🙂 *
0 Karma
1 Solution

DalJeanis
SplunkTrust
SplunkTrust

Yes, you CAN use collect. Or you could set up your configuration to use CLONE_SOURCETYPE, depending on your use case.

Despite the name, asummary index does not necessarily have to contain only a summary style of data. Summary indexes provide a method to store pretty much any stuff you want. It can contain an entire copy of raw events, or even a copy of raw events with additional enrichment data added, making the detail events even bigger. If you need a different retention length for certain kinds of events, you CAN copy them to a summary index for that kind of treatment. Or you could use CLONE_SOURCETYPE.

There are lots of tools in the shed around here. If you tell us a little more about what you are trying to accomplish, then we can steer you through your options.

View solution in original post

DalJeanis
SplunkTrust
SplunkTrust

Yes, you CAN use collect. Or you could set up your configuration to use CLONE_SOURCETYPE, depending on your use case.

Despite the name, asummary index does not necessarily have to contain only a summary style of data. Summary indexes provide a method to store pretty much any stuff you want. It can contain an entire copy of raw events, or even a copy of raw events with additional enrichment data added, making the detail events even bigger. If you need a different retention length for certain kinds of events, you CAN copy them to a summary index for that kind of treatment. Or you could use CLONE_SOURCETYPE.

There are lots of tools in the shed around here. If you tell us a little more about what you are trying to accomplish, then we can steer you through your options.

adonio
Ultra Champion
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

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 ...