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
    Got questions? Get answers!

    Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

    Meet up IRL or virtually!

    Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

    Get Updates on the Splunk Community!

    Network to App: Observability Unlocked [May & June Series]

    In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

    SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

    Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

    [Puzzles] Solve, Learn, Repeat: Matching cron expressions

    This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...