Splunk Search

Data wherehousing - Can Splunk report on previous device-account mapping?

maverick
Splunk Employee
Splunk Employee

Suppose that I have events for my devices being splunked and each device is associated with an account ID located in a database.

We have a scenario as follows:

  • - A device starts out associated with one account (say account “A”) from Feb-March
  • - The device THEN gets re-associated to another account (say Account “B”) in April

    Reports generated for Feb-March must associate the Account “A” database information with the device, whereas any report after March must associate the Account “B” database information with the device.

    How would splunk handle this scenario and/or need to be setup to enforce these reporting requirements? Any experience or best practices would be greatly appreciated.
  • DrewO
    Splunk Employee
    Splunk Employee

    Hey Maverick,

    For this one you'd want a time-based lookup. See docs here: http://www.splunk.com/base/Documentation/latest/Knowledge/Addfieldsfromexternaldatasources#Set_up_a_...

    Look for other answers for best practices on this.

    D

    maverick
    Splunk Employee
    Splunk Employee

    So you are saying I could match the event time on a temporal month and year based field? If so, then I could maintain the new mappings as they change in the lookup file, correct?

    0 Karma
    Get Updates on the Splunk Community!

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

    Introducing the 2024 SplunkTrust!

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