Knowledge Management

errors while using unix tags in the search app

Genti
Splunk Employee
Splunk Employee

If i do a search within the unix app such as this: tag="access" i get plenty of results. If i perform the same search within the search app i receive errors of the kind:
1. Unable to find an eventtype DMA_Linux_syslog
2. Unable to find an eventtype CUPS_access_Linux_OSX

Why are these errors coming up?

Tags (4)
1 Solution

Genti
Splunk Employee
Splunk Employee

This is a minor bug that hte developers have been notified on and will probably be fixed very soon.

Note that when the unix app gets installed a flag that is supposed to be set doesnt get. Your default.data in the unix app looks like this: /splunk/etc/apps/unix/metadata more default.meta

[tags]
export = system

[props]
export = system

[transforms]
export = system

[eventtypes]
access = read : [ * ], write : [ admin, power ]

Note that even though the tag stanza is set to be global, the eventtype does not have such a flag. In order to be able to see these eventtypes outside of the unix app, and hence have the search on the "tag=access" work without errors, the following needs to be changed:

[eventtypes]
access = read : [ * ], write : [ admin, power ]
export = system

Then a server restart is needed, and searching should work just fine...

Cheers,
.gz

View solution in original post

0 Karma

Genti
Splunk Employee
Splunk Employee

This is a minor bug that hte developers have been notified on and will probably be fixed very soon.

Note that when the unix app gets installed a flag that is supposed to be set doesnt get. Your default.data in the unix app looks like this: /splunk/etc/apps/unix/metadata more default.meta

[tags]
export = system

[props]
export = system

[transforms]
export = system

[eventtypes]
access = read : [ * ], write : [ admin, power ]

Note that even though the tag stanza is set to be global, the eventtype does not have such a flag. In order to be able to see these eventtypes outside of the unix app, and hence have the search on the "tag=access" work without errors, the following needs to be changed:

[eventtypes]
access = read : [ * ], write : [ admin, power ]
export = system

Then a server restart is needed, and searching should work just fine...

Cheers,
.gz

0 Karma

Genti
Splunk Employee
Splunk Employee

I think though, that the default behavior is supposed to be that if you have access to the os index, you should be able to use the tags from the search app as well as the unix app.
This seems to be the case for the windows app, the default.meta file there is as the unix one "should" be..

0 Karma

Lowell
Super Champion

I guess the other option is to NOT export the tags. I don't know about anyone else, but the default eventtypes bundled in the unix app don't seem to be very thought out to me.

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!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Introducing the 2026 - 2027 SplunkTrust cohort!

The goal of the SplunkTrust™ membership has historically been to acknowledge and recognize those who go above ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...