Splunk Search

Data enrichment - ingestion time lookup?

pezcrap
Explorer

I have some event data that has a user-id associated with it.

I also have a separate datastore that contains some data about each user (team, location etc etc)

I would like to be able to run splunk queries that use that data ( for eg "show me events from team A")

At first glance it looks like Splunks 'lookup' capability would be ideal, however it seems that this is resolved at search time.

Unfortunately the data in the seperate datastore is mutable. For example user 1234 might change teams from team A to team B. When this occurs I do not want his old events from when he was in team A to show up in a search for team B.

To avoid this I would prefer to enrich the data as it is ingested so that the data associated with each event remains immutable.

Does Splunk provide any support for this approach?

Tags (2)
0 Karma

sibbsnb
Path Finder

Input lookup is your better bet if your data is changing and you want analytics to be accurate. If you are ok for some variance of errors and the data gets purged, you can do it at ingest time which is efficient.

Splunk cannot change the data once ingested unless you re-ingest it.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...