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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

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

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