Version 0.1
No proxy support for now
Includes two custom commands. One to get a webpage and provide a "readable" version like mobilizer etc or like your smartphone browser when you double-tap the main text on a webpage both as simplified html and plain text. Long and short title and if the text is english a hopefuly useful five sentence summary of the main content.
It uses the library readability and pytease to do so. Input is the field url or any you specify with | readability input=xxx present in the previous results. for testing just do something like this:
| makeresults | eval url="https://en.wikipedia.org/wiki/Splunk" | readability
cssselector
custom command that allows you to use css selectors against a field, provide a property you wish to extract like the href from an
will provide the generated xpath and the values for the property
example:
| makeresults | eval url="https://en.wikipedia.org/wiki/Splunk" | readability | cssselector item="href" selector="a" output="href"
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.