Index script

Hi, is it possible we can index a script (shell/python) and when call the index in Kibana, the script output will parse to logstash/elastic and view in Kibana

thats something similar to Splunk feature here:
https://docs.splunk.com/Documentation/Splunk/7.3.0/Data/Getdatafromscriptedinputs

https://www.elastic.co/guide/en/logstash/current/plugins-inputs-exec.html
Is the equivalent, a script as an event source for an input.

You can also run your script on a cron and have it push data into metricbeat http module, check the module doc for more details.

You can also run your script on a cron and have it write the output to a file that filebeat monitors and harvest.

You don't store that script indexed in ES... I don't see what would be the point of doing this anyway and that Splunk feature doesn't do that either, the script is an input config, not an indexed payload in the search engine.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.