Hello.
Up to Splunk 7 version, it was python2, so I was using the app below to search elasticsearch.
https://github.com/brunotm/elasticsplunk
As I upgraded the Splunk version to 8 and started using python3, the app could not run.
So, I ask if there is a way to use this app.
* How to use it in python3? (If the conversion is successful and is in use, can you share it?)
* Is there an app that can replace it? (I'm not going to use the Elasticsearch Data Integrator - Modular Input app.)
* If there is an app you are using with splunk 8 (python3), please recommend it.
I solved it!
I added the path and file below.
$SPLUNK_HOME/etc/apps/{application_name}/local/server.conf
[general]
python.version = python2
Temporarily solved it with the method below.
$SPLUNK_HOME/etc/system/local/server.conf
[general]
python.version = python2
Since the above method runs in python2 for all apps, I think it will cause problems in the future.
Is there a way to run only a specific app with python2?
Entering the settings below doesn't work in python2.
$SPLUNK_HOME/etc/apps/{application_name}/local/app.conf
[install]
python.version = python2
I solved it!
I added the path and file below.
$SPLUNK_HOME/etc/apps/{application_name}/local/server.conf
[general]
python.version = python2