<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk eStreamer eNcore client doesn't start in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398353#M71030</link>
    <description>&lt;P&gt;This has gone beyond what I had expected. Working with Doug Hurd and Cisco TAC, it has been determined that the app looks for the Python version that is installed on your Linux install and not what Splunk has installed. So I am running RHEL 6.9 which has Python version 2.6.6 and even with Splunk installed with Python version 2.7, it generates an error because the app or specifically the script splencore.sh is referencing the OS version of Python. I checked the Cisco script for CLI (encore.sh) and it specifically references the OS version. So to me, I see the app referencing the wrong place and somehow the version check needs to be redirected to the Splunk version. I hope that I was able to explain this properly so that it can be understood. If you have questions, don't hesitate to ask.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 19:12:43 GMT</pubDate>
    <dc:creator>molinarf</dc:creator>
    <dc:date>2019-03-04T19:12:43Z</dc:date>
    <item>
      <title>Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398343#M71020</link>
      <description>&lt;P&gt;I have been trying to get the Cisco eStreamer eNcore app to work and since rebuilding the FMC host, and using a routable IP instead of a management IP. The eStreamer Client Status shows Disabled. Here is the output of the config.log&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/TA-eStreamer/bin/encore&lt;BR /&gt;
You have not configured your FMC Host&lt;BR /&gt;
Configuring&lt;BR /&gt;
Removing old keys&lt;BR /&gt;
Recreating keys&lt;BR /&gt;
MAC verified OK&lt;BR /&gt;
Error outputting keys and certificates&lt;BR /&gt;
139742838814376:error:060A60A3:digital  envelope routines:FIPS_CIPHERINIT:diabled for fips:fips_enc.c:142:&lt;BR /&gt;
139742838814376:error:06074078: digital  envelope routines:EVP_PBE_CipherInit:keygen failure:evp_pbe.c:197:&lt;BR /&gt;
139742838814376:error:23077073:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 algo ciperinit error:p12_decr.c:87:&lt;BR /&gt;
139742838814376:error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe crypt error:p12_decr.c:139:&lt;/P&gt;

&lt;P&gt;I don't know what the error means that I have not configured the FMC Host. Are the errors related to the problem of the eStreamer stuck in disabled? The eStreamer.log file output shows:&lt;/P&gt;

&lt;P&gt;estreamer.client INFO eNcore version: 3.0.0&lt;BR /&gt;
estreamer.client INFO Python version: 2.7.14 (default, April 12 2018) \n[GCC 5.3.0]&lt;BR /&gt;
estreamer.client INFO Platform version: Linux-2.6.696.e16.x86_64-x86_64-with-rehat-6.9-Santiago&lt;BR /&gt;
estreamer.client INFO Starting client (pid=28587).&lt;BR /&gt;
estreamer.client INFO Sha256:&lt;BR /&gt;
Diagnostics INFO Check certificate&lt;BR /&gt;
Diagnostics INFO PKCS12 file needs processing&lt;BR /&gt;
estreamer.client ERROR EncoreException: Uable to read password from console. Are you running as a background process? Try running in test or foreground mode&lt;BR /&gt;
estreamer.client INFO Stopping...&lt;BR /&gt;
extreamer.monitor INFO stopping monitor&lt;BR /&gt;
estreamer.client INFO Goodbye&lt;/P&gt;

&lt;P&gt;I am currently running Splunk Enterprise 7.1.1 on Linux RHEL 6.9-Santiago&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:06:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398343#M71020</guid>
      <dc:creator>molinarf</dc:creator>
      <dc:date>2020-09-29T20:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398344#M71021</link>
      <description>&lt;P&gt;&lt;CODE&gt;You have not configured your FMC Host&lt;/CODE&gt; means that the code has found an FMC host setting which is either blank or &lt;CODE&gt;1.2.3.4&lt;/CODE&gt;. You will need to run through the setup process.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Host and TLS keys&lt;/STRONG&gt;&lt;BR /&gt;
Navigate to app settings in Splunk – from the home page, click the “cog” icon&lt;/P&gt;

&lt;P&gt;Find Cisco eStreamer eNcore for Splunk and click “Set-up”&lt;/P&gt;

&lt;P&gt;At a minimum:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;enter the “FMC hostname or IP address” (&lt;STRONG&gt;this is the bit that answers the specific question here&lt;/STRONG&gt;) and&lt;/LI&gt;
&lt;LI&gt;check the “Process PKCS12 file?”. Optionally enter a password here&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Each time you load this page, “Process PKCS12 file” is reset to “no” and the password is not saved. It used once to process the PKCS12 file using openSSL and store a public-private key pair.&lt;/P&gt;

&lt;P&gt;Check the data you wish to collect. Note that there are no options to turn off intrusion, policy or malware events.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Enable inputs&lt;/STRONG&gt;&lt;BR /&gt;
Navigate to &lt;CODE&gt;Settings &amp;gt; Data Inputs &amp;gt; Files &amp;amp; Directories&lt;/CODE&gt; and enable the single TA-eStreamer app input (cisco:estreamer:data) – this is the where the main output data files are saved&lt;/P&gt;

&lt;P&gt;Navigate to &lt;CODE&gt;Settings &amp;gt; Data Inputs &amp;gt; Scripts&lt;/CODE&gt; and enable the three TA-eStreamer inputs:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;cisco:estreamer:clean – this script has no output but is used to delete data files older than 12 hours&lt;/LI&gt;
&lt;LI&gt;cisco:estreamer:log – this script uses the stdout of eNcore to take program log data. This becomes very useful where things are not going to plan&lt;/LI&gt;
&lt;LI&gt;cisco:estreamer:status – this script runs periodically to maintain a clear status of whether the program is running or not&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;STRONG&gt;Execution&lt;/STRONG&gt;&lt;BR /&gt;
Once you have fully configured the collector and enabled the inputs, navigate back to the set-up page in app settings, enable eNcore (“is enabled?”) and press save.&lt;/P&gt;

&lt;P&gt;To check the status, search for &lt;CODE&gt;sourcetype="cisco:estreamer:status"&lt;/CODE&gt;&lt;BR /&gt;
To check more detailed log output, search for &lt;CODE&gt;sourcetype="cisco:estreamer:log"&lt;/CODE&gt;&lt;BR /&gt;
To look for eStreamer data, search for &lt;CODE&gt;sourcetype=" cisco:estreamer:data"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 08:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398344#M71021</guid>
      <dc:creator>sam_strachan</dc:creator>
      <dc:date>2018-06-21T08:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398345#M71022</link>
      <description>&lt;P&gt;Thanks for the input. I did everything that you had listed before even posting and did many times where I even removed the app and started over clean. If I run the searches, that you listed under execution, for status I get stopped, for log I get what I posted in the encore.log output and for data, I get nothing because the service splencore is not running. I am trying to determine why it doesn't start and it seems that there is something wrong with the starting of the service. See my other post: ImportError: No module named arparse. I think once I get that fixed it may actually work.&lt;/P&gt;

&lt;P&gt;Thanks again sam_strachan&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 17:55:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398345#M71022</guid>
      <dc:creator>molinarf</dc:creator>
      <dc:date>2018-06-21T17:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398346#M71023</link>
      <description>&lt;P&gt;Sam,&lt;/P&gt;

&lt;P&gt;I was looking at the preflight.py file because of what I am encountering in this post: eStreamer for Splunk error outputting keys and certificates.&lt;/P&gt;

&lt;P&gt;Do you have any idea why it fails when I try to start splencore.sh manually from the CLI at line 32 "import.argparse"&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 18:47:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398346#M71023</guid>
      <dc:creator>molinarf</dc:creator>
      <dc:date>2018-06-21T18:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398347#M71024</link>
      <description>&lt;P&gt;argparse: Yes. It's because Splunk runs python in a particular way and it first sets up its own environment and path variables so that it works. If you just log in (even as the splunk user) these variables (most notably the path) are not set, so when python goes looking for libraries (such as argparse) it can't find them and throws an error. It is possible to workaround but involves installing python again and I really wouldn't recommend it. This is why you don't see the same error when Splunk runs encore.&lt;/P&gt;

&lt;P&gt;When you navigate to the setup screen - do you see the host / ip you entered?&lt;/P&gt;

&lt;P&gt;Also - can you try splitting your pkcs12 file manually? Try it on the splunk host first. Use the following command lines. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;openssl pkcs12 -in $pkcs12file -nocerts -nodes -out $privateKey -passin "pass:$password"
openssl pkcs12 -in $pkcs12file -clcerts -nokeys -out $publicKey -passin "pass:$password"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't like the look of:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
Error outputting keys and certificates&lt;BR /&gt;
139742838814376:error:060A60A3:digital envelope routines:FIPS_CIPHERINIT:diabled for fips:fips_enc.c:142:&lt;BR /&gt;
139742838814376:error:06074078: digital envelope routines:EVP_PBE_CipherInit:keygen failure:evp_pbe.c:197:&lt;BR /&gt;
139742838814376:error:23077073:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 algo ciperinit error:p12_decr.c:87:&lt;BR /&gt;
139742838814376:error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe crypt error:p12_decr.c:139:&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 08:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398347#M71024</guid>
      <dc:creator>sam_strachan</dc:creator>
      <dc:date>2018-06-22T08:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398348#M71025</link>
      <description>&lt;P&gt;I'll give it a try. I removed the app from the Splunk server just to clean it up. I also made some modifications so that I could put FMC and the firepower service modules on the ASAs into their own subnet that I hope will work to have proper communications between them and Splunk too. &lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 19:09:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398348#M71025</guid>
      <dc:creator>molinarf</dc:creator>
      <dc:date>2018-06-22T19:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398349#M71026</link>
      <description>&lt;P&gt;Did you eventually find the issue? I am having the same error.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 09:38:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398349#M71026</guid>
      <dc:creator>ctaf</dc:creator>
      <dc:date>2018-09-04T09:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398350#M71027</link>
      <description>&lt;P&gt;Sam,&lt;/P&gt;

&lt;P&gt;I know this is many months since I worked on this. I have progressed to the point, where I can run splencore.sh test but it fails to process the pkcs12 file. It goes fine until it has to process the client.pkcs12 file and when I put the password in, it returns the error&lt;/P&gt;

&lt;P&gt;EndoreException: Unable to process pkcs12 file. Possibly a password problem&lt;/P&gt;

&lt;P&gt;That's all well and fine, but I did not put a password on this client.pkcs file. Is there something I missed along the way?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 00:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398350#M71027</guid>
      <dc:creator>molinarf</dc:creator>
      <dc:date>2018-10-24T00:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398351#M71028</link>
      <description>&lt;P&gt;Finally got back to working on this. I am still having issues with it processing the pcks12 file, but I fixed the argparse file issue.&lt;BR /&gt;
Here is what I did:&lt;BR /&gt;
1) copied a full iso of RHEL6.9 on the Splunk Server&lt;BR /&gt;
2) mounted it into a directory /mnt/iso&lt;BR /&gt;
3) from the Packages directory ran yum install pyton-argparse-.rpm&lt;/P&gt;

&lt;P&gt;Once I did that I could run the splencore.sh script. Unfortunately, it still fails to process the pkcs12 file.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 00:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398351#M71028</guid>
      <dc:creator>molinarf</dc:creator>
      <dc:date>2018-10-24T00:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398352#M71029</link>
      <description>&lt;P&gt;Did you ever fix this issue? I'm having it now, not having too much luck in succeeding.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 18:41:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398352#M71029</guid>
      <dc:creator>cutright_j</dc:creator>
      <dc:date>2019-03-04T18:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk eStreamer eNcore client doesn't start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398353#M71030</link>
      <description>&lt;P&gt;This has gone beyond what I had expected. Working with Doug Hurd and Cisco TAC, it has been determined that the app looks for the Python version that is installed on your Linux install and not what Splunk has installed. So I am running RHEL 6.9 which has Python version 2.6.6 and even with Splunk installed with Python version 2.7, it generates an error because the app or specifically the script splencore.sh is referencing the OS version of Python. I checked the Cisco script for CLI (encore.sh) and it specifically references the OS version. So to me, I see the app referencing the wrong place and somehow the version check needs to be redirected to the Splunk version. I hope that I was able to explain this properly so that it can be understood. If you have questions, don't hesitate to ask.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 19:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-eStreamer-eNcore-client-doesn-t-start/m-p/398353#M71030</guid>
      <dc:creator>molinarf</dc:creator>
      <dc:date>2019-03-04T19:12:43Z</dc:date>
    </item>
  </channel>
</rss>

