Getting Data In

Proper syntax for urls.conf with multiple URLs

sliderCO
Explorer

Can someone clarify the syntax for multiple urls in the urls.conf file please for the WebMon?
The app is only picking up the last url in my file. The examples show brackets around the url name/title but I saw that there were no brackets in the earlier version.

My Site 1

url = http://www.site1.com

timeout = 30

userAgent = Mozilla/4.0

My Site 2

url = http://www.site2.com

timeout = 30

userAgent = Mozilla/4.0

My Site 3

url = http://www.site3.com

timeout = 30

userAgent = Mozilla/4.0

My site 4

url = http://www.site4.com

timeout = 30

userAgent = Mozilla/4.0

Thanks!

0 Karma

dearimranz
Engager

Hi, it might be that you have found the answer but I had the same problem. I think, I solved it by making a script called "webmon_handler.py" executable which is not executable by default.

0 Karma

splunktest_ng
New Member

Hi,
Can you pl help on how to configure webmon.
I did modify urls.conf but I cant see any data coming in. should the useragent be changed?
I am using IE 9

0 Karma

sliderCO
Explorer

For example:

[Site 1 CoolSite]
url = http://www.website1.com
timeout = 30
userAgent = Mozilla/4.0
[Site 2 CoolerSite]
url = http://www.website2.com
timeout = 30
userAgent = Mozilla/4.0
0 Karma

Blu3fish
Path Finder

Out of curiosity have you, or anyone else, figured out a way of specifying multiple pages under a given subdirectory as a single definition in urls.conf?

Such that
url = http://www.website.com/a/1
...
url = http://www.website.com/a/2

could be defined as
url = http://www.website.com/a/

because that'd be handy (whitelisting filetypes would too but we may have to wait for that one).

0 Karma

sliderCO
Explorer

I got it! The brackets are required for each URL or "ping_name" as it is referred to in the app.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...