Splunk Search

Why is the map command a risky command?

munang
Path Finder

Other than poor speed and performance, is there a reason why the map command is considered dangerous?

The official documentation says that the map command can result in data loss or potential security risks. But I don't see any details.

Why?

 

https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Map

 

munang_0-1725276106382.png

 

Labels (2)

munang
Path Finder

hello.  @vigneshnarendra 

So I'm curious about why maps are dangerous.

In some cases system data may be lost. I would like to know the detailed reason why it is possible.

0 Karma

vigneshnarendra
Explorer

HI @munang.

The risky command warning is only a safeguard for many commands which could be a potential risk if users run them without knowing what they are doing.

https://docs.splunk.com/Documentation/Splunk/9.3.0/Security/SPLsafeguards

You could set commands.conf as below and restart splunk to remove the warning.

[<your_command_name>]
is_risky = false

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...