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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Note: This post outlines a proposed architecture and serves as an interest check. If we secure commitments ...