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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...