Project to learn about github, splunk, arduino and linux at the same time.
,
separator between the events curly braces.{"text":"Success","code":0}
which is followed by a a ‘HTTP200’, but when Enable indexer acknnowledgement
is checked.. it returns {"text":"Data channel is missing","code":10}
followed by a ‘HTTP400’ —> question is.. why (see HEC error coeds in Docu section) is splunk returning this and how can i use it :DPSTR("
and ")
without the double qoutes e.g. CET-1CEST,M3.5.0,M10.5.0/3export SPLUNK_HOME=/opt/splunk
lib/splunk/
to the new destinationsudo chown splunk:splunk indexes.conf
cd /opt/splunk/var/lib/splunk
.. but if i do sudo su
it is allowed :D then just chown -R splunk:splunk esp8266hec
and chown splunk:splunk esp8266hec.dat
ls -l
to list the files and folders with owners sudu su
.. chmod 600 esp8266hec.dat
.. chmod -R 700 esp8266hec
ESP8266 IoT Framework lib folder
(.pio/lipdeps/ESP8266 IoT Framework -> right click open in integrated Terminal
) with vscode-terminal ()npm ci
platformio cli terminal
and write npm init
Linknpm install
install NPMiotFrameworkConfig.json
in the project root (wanted it in ‘src’ folder.. but that dind work.. maybe the buildflag was set wrong..)build_flags = -DCONFIG_PATH=iotFrameworkConfig.json -DREBUILD_HTML -DREBUILD_CONFIG
to trigger the redbuild of the webinterfacedate
in docker over terminal.. the docker container is 18s in the future right now. That fits the 18s time difference between index and sensor time..sudo date new_date_time_string
(format: MMDDhhmmyyyy.ss) MM=Month, DD=Day, hh=Hour, mm=Minute, yyyy=Year, ss=Second