Telegraf parsing logstash-style “grok” patterns

Telegraf parsing logstash-style “grok” patterns

I have been trying to ingest data into influx from a log file. The structure is as follows
20171130-22:02:21.832 : something data work now
20171230-22:02:22.843 : something data2
20171231-22:02:23.232 : something data3

I have used this pattern
[inputs.logparser.grok]
#patterns = [‘%{ts-“20060102-15:04:05.999”:timestamp}%{GREEDYDATA:random_data}’]
patterns = [‘(?\d{8}-\d{2}:\d{2}:\d{2}\.\d+)\s*:\s*%{GREEDYDATA:random_data}’]Read the rest “Telegraf parsing logstash-style “grok” patterns”

jmeter + influxdb backend: howto specify user name and password?

jmeter + influxdb backend: howto specify user name and password?

I could not find any authorization GET parameter in the influxdb docs. ( https://docs.influxdata.com/influxdb/v1.5/guides/writing_data/ )

I see no way of specifying user name and password. I cannot disable authentication because the influxdb server is a live server that is public … Read the rest “jmeter + influxdb backend: howto specify user name and password?”

Fetch tag values for a measurement – influxDB

Fetch tag values for a measurement – influxDB

I am trying to fetch the tag values for a given measurement.
i have my measurement in influxDB as given below.
select * from “EVENT_LIVE”
name: EVENT_LIVE
time GROUP_ID COUNT
—- ————- ———
1531008000000000000 84 2
1531008000000000000 9 8
1532822400000000000 249 1… Read the rest “Fetch tag values for a measurement – influxDB”

Can AppDynamics work with a Prometheus backend?

Can AppDynamics work with a Prometheus backend?

Most popular logging and monitoring stacks like ELK stack or Time series DB-Grafana are designed to be integrated. Can AppDynamics work with other samplers/DBs, in particular Prometheus?

Solutions/Answers:

Solution 1:

There are integration tools available between influxdb/AppDynamics and grafana/AppDynamics.

https://github.com/Appdynamics/MetricMover

https://grafana.com/plugins/dlopes7-appdynamics-datasource/installation).

There’s

Read the rest “Can AppDynamics work with a Prometheus backend?”

Insert double quote inside a payload with InfluxDB and WSO2 Stream Processor through HTTP

Insert double quote inside a payload with InfluxDB and WSO2 Stream Processor through HTTP

I am working on a stream process which can takes informations inside my MySQL database and parse them into a NoSQL database (with InfluxDB).
At this point, i am able to send a NoSQL query through … Read the rest “Insert double quote inside a payload with InfluxDB and WSO2 Stream Processor through HTTP”

how to post data and binary data using urllib2 in python

how to post data and binary data using urllib2 in python

I essentially want to do this:
curl -X POST “http://URL?u=user&p=password” –data-binary @myconfig.json

with urllib2.
I found examples for sending just the user and password, or just the binary, but not both at the same time, and some contradict each … Read the rest “how to post data and binary data using urllib2 in python”