Refine your search:

I am beginning to work with tags and am having partial success. I have a tags.conf file that I dropped into the local directory of a new app I created. I then restarted and started to try to search based on the tagging configuration. I could not find anything.

After reading some documentation, I was led to believe that the tags.conf file should be in the system configuration, so I dropped it in the local directory there. Sure enough, I was able to search and find events based on the tags configured. However, when I load up a dashboard in the app I created, I am unable to find any events based on the tagging configuration.

Why isn't the tags configuration extending to all apps? Is the only proper location for it $splunkhome/etc/system?

asked 24 Jun '10, 17:50

muebel's gravatar image

muebel ♦
1.0k1117
accept rate: 40%

1

FYI. The format of tags.conf changes between 4.0 and 4.1. Just something to keep in mind. Splunk upgrades these automatically, but if your in an application deployment situation this can still cause some pain.

(24 Jun '10, 23:16) Lowell ♦

One Answer:

If you want to package the tags with your app and also want to make them available to the entire system, you'll need to configure the following in your appname/metadata/default.meta file:

[tags]
export = system
link

answered 24 Jun '10, 20:29

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843
accept rate: 50%

Thank you that helped, and I found the answer sooner than I expected

(25 Aug '10, 14:59) chris
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1,089
×311
×207
×56

Asked: 24 Jun '10, 17:50

Seen: 715 times

Last updated: 24 Jun '10, 20:29

Copyright © 2005-2012 Splunk, Inc. All rights reserved.