Splunk Search

Do you have advenced xml example file to explain "Selector" module ???

SamChang
Path Finder

Dear Sir

Does you have advenced xml example file to explain "Selector" module ???
I can't understand the explanation in http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference.

============================================================================

Step 01 - Download "ui_examples_4.1_2010_04_09.tar.gz"
Step 02 - Uncompress this .tar.gz file to "ui_examples" folder
Step 03 - move "ui_examples" folder to "/opt/splunk/etc/apps/"
Step 04 - cd "/opt/splunk/etc/apps/ui_examples/default/data/ui/views"
Step 05.1 - cat All .xml file and grep "Selector" to find "Selector" in All xml file
Step 05.2 - cat ./*.xml | grep "elector"
Step 05.3 - can't find any "Selector" module in ALL xml files

I thing ...
If any "view" use "Selector" module ...
I should find "Selector" module in xml file.
Because I can't find any "Selector" module in All xml file,
so I think that "ui_examples" APPs doesn't use any "Selector" module ...

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Again, it would be better for you to explain what you want to do, rather than asking for a specific module. The Selector module is not used in the examples because you should be using a different module. I suspect that what you want to do should be done using the EntityLinkLister or EntitySelectLister module instead. An example of using the EntityLinkLister is here.

0 Karma

ftk
Motivator

What are yo trying to accomplish with the selector module?

0 Karma

SamChang
Path Finder

My Answer have updated to my question's content.

0 Karma

ftk
Motivator

Can you elaborate on what you are trying to do? The selector module might be a red hering.

0 Karma

SamChang
Path Finder

Dear Sir

Sorry! I have downloaded "ui_examples_4.1_2010_04_09.tar.gz". I have executed cat and grep commands to check all xml file in ui_examples_4.1. I can't find any "Selector" module in any xml file (ui examples 4.1). Below is my checking command --

shell# pwd /opt/splunk/etc/apps/ui_examples/default/data/ui/views shell# cat ./*.xml | grep module | grep "elector"

Shell ... no response ...

Do you have any other example files to explain "Selector" module using .... thanks

0 Karma

ftk
Motivator

Go to splunkbase and download and install the UI Examples app. It will give you a lot of good examples.

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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

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

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...