All Apps and Add-ons

non-default Index

sov_gwright
New Member

How do I get the App for Web Analytics to look at data in a different index? I made sure to add all non-default indexes to my role and when I search for "index=blah and tag=web" I see all of the correct data with file, site etc fields populated but if I remove "index=blah" no data shows up so Web Analytics isn't seeing the other index.

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @sov_gwright,
you can have two different approach:

  • modify index search default path for the roles used in your App in [Settings -- Roles -- <your_role> -- Indexes -- Default];
  • modify eventtype web-traffic in your app: copying eventtypes.conf from default to local folder (if not present, create it) and modifying the first eventtype web-traffic adding the indexes to use.

I always prefer the second solution.

Ciao.
Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @sov_gwright,
you can have two different approach:

  • modify index search default path for the roles used in your App in [Settings -- Roles -- <your_role> -- Indexes -- Default];
  • modify eventtype web-traffic in your app: copying eventtypes.conf from default to local folder (if not present, create it) and modifying the first eventtype web-traffic adding the indexes to use.

I always prefer the second solution.

Ciao.
Giuseppe

0 Karma

sov_gwright
New Member

Thanks that worked perfectly - now I'm struggling with Pages and Page Views as it only seems to want to see GET when 99% of our traffic is not GET.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @sov_gwright,
good, I'm glad to help you.
about the new question, me or other people in Community will surely help you, but, please create a new request.

Ciao.
Giuseppe

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...