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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...