All Apps and Add-ons

Web-Page Inputs App: CSS selector not working for "pre" element

BenjaminWyatt
Communicator

I'm trying to set up a scraper using the Website Inputs app. For this particular web page, the data I need is contained in a "pre" HTML element. For some reason, when I try to use this as my CSS selector, I get a "no matches found" message. Is there a bug with this particular element? I'm happy to provide more details about the webpage I'm trying to scrape if that makes things easier.

Tags (1)
0 Karma

LukeMurphey
Champion

Sorry for the super late reply. I think I may have discovered the reason for this issue. The app wasn't matching elements due to some case sensitive matching logic. This was fixed in 4.1.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...