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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...