Knowledge Management

summary index question


Is it possible to create a role which can create a scheduled saved search and store result(s) into non-default summary index (another summary index created by admin , said summary_A )?

I tried to do above , I login as admin and create a index called summary_A, and I create a role (said role_A) inherit from power, and he can search summary_A index. then I create a user (said user_A) belongs to role_A .

I login as user_A , write a search and save it as a scheduled saved search, while I click "enable summary indexing" , I can only see "summary" index , I can not see "summary_A" index in dropdown list box ( if I login as admin, then I can see "summary_A" in dropdown list box) , I don't know why.

anyone have idea about this ? thanks.

Tags (2)
0 Karma

Super Champion

After doing some more digging, it looks like there your new indexes don't show up because you haven't granted write access to any other roles yet. The "admin" role has access to all indexes by default, which is why the admin user could see all indexes. The index access you were talking about setting up, on pertains to searching on indexes--it has nothing to do with writing to indexes.

To add write access to your summary_A index, modify your local.meta file in whatever app you defined your index in. (For example, if summary_A is defined in $SPLUNK_HOME/etc/system/local/indexes.conf, then put your entry in $SPLUNK_HOME/etc/system/metadata/local.meta)


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

This will let both the admin and power users write to this index. There doesn't seem to be any way to do this from the UI. And you'll have to restart, or use some other trickery to get splunk to refresh the metadata.

One thing that confused me when I was digging around is why "summary" index was showing up. This seems to be either because "summary" is the default index, or it's because of some config entry I haven't found yet. I'm not sure.

Super Champion

I'm not sure what restrictions summaryindex command place on which index a user can write to. I think the controls are at the summaryindex search command level; in other words, if a user can execute the summaryindex search command (which is what the summary_index alert action does behind the scenes), then a user can write to whatever index they choose.

I suspect that the summary_A index missing from drop-down is either (1) because you didn't restart (as ftk suggests), or (2) because that user doesn't have search access to that index. But I don't think that lacking search access really prevent the user from writing to that index. I'm prettys sure the user could still run a search command to do so manually: ... | summaryindex addtime=true index=summary_A name="my_unapproved_summary_index_search

In general, I would only suggest giving trusted users access to the summary indexing capability.

This could be some kind of user interface issue. I would try modifying the savedsearches.conf file where user_A's saved search was saved. Try adding the following line to the appropriate stanza:

action.summary_index._name  = summary_A

Then restart splunk and see if that works for you. This may not be the answer you are looking for, but it should help determine if the issues you're seeing is simply in the UI layer or if it's something within the core of splunk.

Ok, I just did some more digging, and I think I figured out what's really going on here, but I'll post a secondary answer. In the mean time, I think the right workaround is to specify the summary index manually in the savedsearches.conf file.


Lowell, this has been a while ago, but I have still not seen a good answer for this. Could you followup on this?

0 Karma


Hi Lowell,
I had restart splunk after create new index, admin user can search and write search results into summary_A, user_A also has permission to search summary_A.

0 Karma


You have to restart Splunk after creating a new index before you can use it.

./splunk restart


Hi ftk,
yes, I had restrat splunkd , and if I login as admin, I can use summary_A index.

0 Karma
Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...