Knowledge Management

Tag from cli or search?

swdonline
Path Finder

Is it possible to auto-tag a field from the results of a search from the cli or the search bar? Something like:

"search color=scarlet OR color=crimson | tag tag::color=red"

Tags (1)
0 Karma

Kate_Lawrence-G
Contributor

Hi,

It's not possible to do it automatically you can do it through the Splunk Web interface:

http://docs.splunk.com/Documentation/Splunk/latest/User/TagAndAliasFieldValues#How_to_tag_and_alias_...

Also if you are running 4.3 you can do some dynamic tagging from the event viewer data:

See http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Tagthehostfield

Thanks,

Kate

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...