This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Please set the ROOT to the folder your nxlog was installed into, | |
## otherwise it will not start. | |
#define ROOT C:\Program Files\nxlog | |
define ROOT C:\Program Files (x86)\nxlog | |
define CERTDIR %ROOT%\cert | |
Moduledir %ROOT%\modules | |
CacheDir %ROOT%\data | |
Pidfile %ROOT%\data\nxlog.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from datetime import datetime, timedelta | |
from mixpanel_query.client import MixpanelQueryClient | |
#Enter your Mixpanel API Keys | |
MIXPANEL_API_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |
MIXPANEL_API_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |
# Instantiate the client | |
query_client = MixpanelQueryClient(MIXPANEL_API_KEY, MIXPANEL_API_SECRET) |