Reporting

Datamodel Change

mrtolu6
Path Finder

whats a good search to run to see if any change was done to a datamodel. For example if I want to see if someone enable or disable datamodel acceleration. what search can I run to see what user change the datamodel and which datamodel was changed?

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Try this

| rest /servicesNS/<user>/<app>/data/models

0 Karma

mrtolu6
Path Finder

I tried that and got the following error "REST Processor: Failed to fetch REST endpoint uri=https://127.0.0.1:8089/servicesNS///data/models?count=0 from server https://127.0.0.1:8089. Check that the URI path provided exists in the REST API."

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Try this

| rest /services/data/models| transpose

0 Karma

mrtolu6
Path Finder

thanks the search did work, but it didn't give me the info I'm looking for, Just looking to see who accelerated or disable data model acceleration.

0 Karma

skoelpin
SplunkTrust
SplunkTrust

If you look at the last row you can see the last updated time of the datamodel. As for who made the modification, you will probably have to do a subsearch against the internal audit index

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